
EPT Empty Plugin Template
by Juergen Schulze on WordPress.org
An empty plugin template to start with, including the most basic necessary stuff. Take this as some kind of workshop.
(0)
STILL BETA Use this emtpy wordpress plugin template to build your own.
Considering all the advices given in https://codex.wordpress.org/Writing_a_Plugin, https://codex.wordpress.org/Creating_Options_Pages and http://planetozh.com/blog/2009/09/top-10-most-common-coding-mistakes-in-wordpress-plugins/
Every important point will have it’s own page to explain.
Including:
- multi language ability
- uninstall routine
- data delete routine (avoid orphaned data)
- coding advices
- security aspects (validating user inputs, nonces)
- external third party stuff (Ajax, CSS, Javascript)
- shortcode
- WordPress scheduler (“cronjob”)
- logfiles
- capabilities
Remove plugin
- Deactivate plugin through the ‘Plugins’ menu in WordPress
- Delete plugin through the ‘Plugins’ menu in WordPress
It’s best to use the build in delete function of wordpress. That way all the stored data will be removed and no orphaned data will stay.
To do
More translations. Does someone wants to help?
Active installations10+
Weekly downloads
16-5.88%
Version0.1.1.2
Last updated3/3/2011
WordPress version2.8
Tested up to3.1.4
Tags
developmentemtpy plugin templatetemplatewordpress pluginworkshop