Posted By

jschultz76 on 05/28/11


Tagged

php plugin wordpress


Versions (?)

WordPress Plugin Header


 / Published in: PHP
 

The code below should go at the top of the plugin's main file. This lets WordPress know that it is a plugin and what it is called, as well as other details.

  1. <?php
  2. /*
  3. Plugin Name: PluginName
  4. Plugin URI: http://www.example.com
  5. Description: Description of the plugin
  6. Author: John Schultz
  7. Author URI: http://www.johnschultz.me
  8. Version: 1.0
  9. */
  10. ?>

Report this snippet  

You need to login to post a comment.