Notice: Trying to get property of non-object in /home/wpcmsnin/snippets.wpcms.ninja/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-utils.php on line 25

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.

Skills

Posted on

April 26, 2018

Submit a Comment

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