WordPress Plugin Header Requirements

, ,

Here is the code sample of what is required for developing a plugin.  This needs to go into the main php file within the plugin folder.

Header Requirements

As described in Getting Started, the header comment is what tells WordPress that a file is a plugin. At a minimum, a header comment must contain the Plugin Name, but several pieces can – and usually should – be included: Plugin Name: (required) The name of your plugin, which will be displayed in the Plugins list in the WordPress Admin.

Submit a Comment

Your email address will not be published. Required fields are marked *