WordPress Plugin Header

/ Published in: PHP
Save to your folder(s)

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.

Copy this code and paste it in your HTML
  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


RSS Icon Subscribe to comments

You need to login to post a comment.