EPT Empty Plugin Template
An empty plugin template to start with, including the most basic necessary stuff. Take this as some kind of workshop.
評価機能
最終更新日時
March 3, 2011
バージョン
0.1.1.2
有効インストール数
10
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?
このプラグインをダウンロードして、インストール型 WordPress のインストールに使用できます。