,

Plugin Base Skeleton

I got tired working on plugins and writing the same code snippets all over again, looking in the same old tutorial sites or my favorite WP 3 Plugin Dev book. So I released a startup script for plugins – http://wordpress.org/extend/plugins/dx-plugin-base/ .

It contains most of the important snippets required for every plugin – registration of custom post types or taxonomies, registering activation and deactivation hooks, admin pages, metaboxes. I’m going to add widget/shortcode registration with some samples. This would make it easier to use it as a new plugin startup script and save some time about it.

I also brainstorm on the idea of making it hookable with parameters so all functions are dynamic and the script could be extended directly with inheritance or composition. Still I need to think more generally whether it would be practical and doable for all functions.


My name is Mario Peshev, a global SME Business Advisor running digital businesses for 20 the past years.

Born in Bulgaria, Europe, I gained diverse management experience through my training work across Europe, North America, and the Arab world. With 10,000+ hours in consulting and training for organizations like SAP, VMware, CERN, I’ve dedicated a huge amount of my time to helping hundreds of SMEs growing in different stages of the business lifecycle.

My martech agency DevriX grew past 50 people and ranks as a top 10 WordPress global agency and Growth Blueprint, my advisory firm, has served 400+ SME founders and executives with monthly ongoing strategy sessions.


Follow me at:

Latest Editions:

Browse by Category

Latest Answers: