Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created March 7, 2018 01:07
Show Gist options
  • Save hellofromtonya/e94690f0648c5933badf83f7b6d212fe to your computer and use it in GitHub Desktop.
Save hellofromtonya/e94690f0648c5933badf83f7b6d212fe to your computer and use it in GitHub Desktop.
Example plugin bootstrap's File Header.
<?php
/**
* Brief description of the Plugin
*
* @package CompanyName\PluginName
* @author your name or company name
* @license GPL-2.0+
* @link https://example.com
*
* @wordpress-plugin
* Plugin Name: Name of the Plugin
* Plugin URI: the plugin's url
* Description: Description of the plugin
* Version: 1.0.0
* Author: your name or company name
* Author URI: https://example.com
* Text Domain: text_domain
* Requires WP: 4.9
* Requires PHP: 5.6
*/
/*
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.
*/
namespace CompanyName\PluginName;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment