What is wordpress plugin header and how to add plugin header?

What is wordpress plugin header and how to add plugin header?

 

 

Plugin header contain some meta information about plugin such as plugin name, author, plugin url etc.  Basically its a way to show admin plugins information.

Example:

 

 

 

<?php

/*
Plugin Name:  Wc Recently viewed products
Plugin URI: https://github.com/deepintowp/wc-recently-viewed-products
Description:  Show recently viewed products by user on your Woocommerce store
Version: 1.0.1
Author: Subhasish Manna
Author URI: http://subhasishmanna.com
License: GPLv2 or later
Text Domain: rvps
*/

 

 

Facebook Comments
No Comments

Sorry, the comment form is closed at this time.