Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@chrisdc
Created July 31, 2014 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdc/ae1fd4a6a50c588d8e0f to your computer and use it in GitHub Desktop.
Save chrisdc/ae1fd4a6a50c588d8e0f to your computer and use it in GitHub Desktop.
Wordpress Plugin Template
<?php
/**
* Plugin Name: My Plugin
* Plugin URI: https://example.com/plugin/
* Description: An amazing WordPress plugin.
* Version: 1.0
* Author: [Author Name]
* Author URI: https://example.com/author/
* License: GPL2
* Text Domain: myplugin
*/
/**
* Copyright 2014 [Author Name] (email : [Author Email])
*
* 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
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment