Skip to content

Instantly share code, notes, and snippets.

@coulterpeterson
Created January 12, 2020 02:32
Show Gist options
  • Save coulterpeterson/36136808e09426e847176ccf12461c2f to your computer and use it in GitHub Desktop.
Save coulterpeterson/36136808e09426e847176ccf12461c2f to your computer and use it in GitHub Desktop.
#WordPress #plugin boilerplate
/wp-content/plugins/my-amazing-plugin/readme.txt
=== My Amazing Plugin ===
Contributors: yourwordpressusername
Tags:
Requires at least: 4.0
Tested up to: 5.1
Stable tag: trunk
License: GPLv2 or later
== Description ==
Your description here
== Features ==
* List your features
* One by one
== Changelog ==
= 1.0 =
* Initial release.
<?php
/* /wp-content/plugins/my-amazing-plugin/my-amazing-plugin.php */
/*
Plugin Name: My Amazing Plugin
Description: Your Plugin Description.
Version: 1.0
Author: Your Name
Author URI: http://yourwebsite.com
License: GPLv2 or later
Text Domain: my-amazing-plugin
*/
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
Copyright 2019 Your Name or Company
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment