Skip to content

Instantly share code, notes, and snippets.

@tangrufus
Created July 20, 2014 01:08
Show Gist options
  • Save tangrufus/ff52828bfecf31e24318 to your computer and use it in GitHub Desktop.
Save tangrufus/ff52828bfecf31e24318 to your computer and use it in GitHub Desktop.
WordPress Plugin Boilerplate. PHPDoc Tags & Plugin File Header http://tangrufus.com/wordpress-plugin-boilerplate-tutorial-getting-started/
// sunny-demo/sunny-demo.php
<?php
/**
* Sunny Demo
*
* A demo to show how to write a plugin interacting with CloudFlare
* Client API base on WordPress Plugin Boilerplate.
*
* @package Sunny_Demo
* @author Tang Rufus <tangrufus@gmail.com>
* @license GPL-2.0+
* @link http://tangrufus.com/wordpress-plugin-boilerplate-tutorial-getting-started/
* @copyright 2014 Tang Rufus
*
* @wordpress-plugin
* Plugin Name: Sunny Demo
* Plugin URI: http://tangrufus.com/sunny
* Description: A demo to show how to write a plugin interacting with CloudFlare Client API base on WordPress Plugin Boilerplate.
* Version: 1.0.0
* Author: Tang Rufus
* Author URI: http://tangrufus.com
* Text Domain: sunny-demo-locale
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
* GitHub Plugin URI: https://github.com/tangrufus/sunny/
* WordPress-Plugin-Boilerplate: v2.6.1
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment