The EDD Extension Boilerplate serves as a foundation and aims to provide a standardized guide for building extensions. Just download, tweak a few things, and you'll be able to get to the real code in no time!
The EDD Extension Boilerplate includes the following files:
gitignore
file.plugin-name
that represents the core plugin file.plugin-name
directory into your wp-content/plugins
directoryThis will activate the EDD Extension 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 the Boilerplate.
plugin-name.php
file should only be used for core functionality necessary to bootstrap the plugin itself.includes
or a folder therein.libraries
folder is provided for reference. If your plugin requires and external libraries, put them here. Otherwise, remove the folder.admin
folder is provided for reference. Any code that is explicit to the dashboard belongs here.assets
folder contains subfolders for css
, img
, and js
files. Common sense applies.The EDD Extension 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