January 14, 2015
Simplify your theme development, reuse code, and reduce compatibility problems by moving complex logic code out of your templates and functions.php file into a namespaced theme object. Take advantage of stateful caching and build your own base class to reuse functionality between projects.
February 4, 2016 at 4:11 pm |
Hi there, this video is really cool. It’s such a good idea to develop WordPress theme using OOP 🙂 it would be great if you could give us some links to Github or detailed pages related to this video =)
LikeLiked by 1 person
September 16, 2016 at 1:56 pm |
To prevent plugin deactivation (e.g., if you use a site-level plugin to instantiate your data model), use mu-plugins:
https://codex.wordpress.org/Must_Use_Plugins
LikeLike