plugin head

http://adambrown.info/p/wp_hooks 

http://codex.wordpress.org/ 

plugin头:(http://codex.wordpress.org/Writing_a_Plugin)

 1 <?php
 2 /*
 3 Plugin Name: Name Of The Plugin
 4 Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
 5 Description: A brief description of the Plugin.
 6 Version: The Plugin's Version Number, e.g.: 1.0
 7 Author: Name Of The Plugin Author
 8 Author URI: http://URI_Of_The_Plugin_Author
 9 License: A "Slug" license name e.g. GPL2
10 */
11 ?>

 

license:

 1 <?php
 2 /*  Copyright YEAR  PLUGIN_AUTHOR_NAME  (email : PLUGIN AUTHOR EMAIL)
 3 
 4     This program is free software; you can redistribute it and/or modify
 5     it under the terms of the GNU General Public License, version 2, as 
 6     published by the Free Software Foundation.
 7 
 8     This program is distributed in the hope that it will be useful,
 9     but WITHOUT ANY WARRANTY; without even the implied warranty of
10     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11     GNU General Public License for more details.
12 
13     You should have received a copy of the GNU General Public License
14     along with this program; if not, write to the Free Software
15     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16 */
17 ?>

posted on 2012-08-30 21:06  kalintw  阅读(116)  评论(0)    收藏  举报

导航