Current Version: 2.6.0. See the ChangeLog for more information.
.potas a starting translation file.
The WordPress Plugin Boilerplate includes the following files:
plugin-namedirectory into your
This will activate the WordPress Plugin Boilerplate. Because the Boilerplate has no real functionality, nothing will be added to WordPress; however, this demonstrates exactly how your plugin should behave while you're working with it.
A new menu item will be added to the Plugins menu if you uncomment Line 71 in the class file which contains the following line:
add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ) );
The WordPress Plugin Boilerplate is licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
The WordPress Plugin Boilerplate is licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.
The assets directory provides two files that are used to represent plugin header images.
When committing your work to the WordPress Plugin Repository, these files should reside in their own
assets directory, not in the root of the plugin. The initial repository will contain three directories:
You'll need to add an
assets directory into the root of the repository. So the final directory structure should include four directories:
Next, copy the contents of the
assets directory that are bundled with the Boilerplate into the root of the repository. This is how the WordPress Plugin Repository will retrievie the plugin header image.
Of course, you'll want to customize the header images from the place holders that are provided with the Boilerplate.
Plugin screenshots can be saved to one of two locations:
assetsdirectory, as well. The repository will look here for the screenshot files as well; however, they will not be included in the plugin download thus reducing the size of the plugin.