Assuming you create “My Cool Plugin” you would have the following files and directories:
|The main plugin file. This one contains the plugin standard header. This file does a PHP version check and sets up the text domain.
|This file is called the the main file and initializes the plugin class defined in MyCoolPlugin_Plugin.php. It is separate so that is is not parsed unless PHP version check is successful (otherwise you would get a PHP parse error when trying to activate the plugin)
|Your plugin class. This is where your write your code. Extends MyCoolPlugin_LifeCycle.
|Superclass for MyCoolPlugin_Plugin. Provides lifecycle functions for actions related to installation, uninstall, activate, deactive, and upgrade. Override these functions in MyCoolPlugin_Plugin to add actions.
|Superclass of MyCoolPlugin_LifeCycle. Includes functionality for tracking what version of your plugin is installed.
|Superclass of MyCoolPlugin_InstallIndicator. Provides management functions for options including creating an options page.
|If you would like to create a short code in its own class, extend this class and implement one abstract function.
|Standard plugin readme.txt file. Example format. Format Validator. Mark-down syntax.
|Empty directory in which to put style sheets files.
|Empty directory in which to put your i18n files (*.pot, *.po, *.mo)