Skip to content

Latest commit

 

History

History
executable file
·
23 lines (20 loc) · 603 Bytes

add-plugin-readme.MD

File metadata and controls

executable file
·
23 lines (20 loc) · 603 Bytes

CalderaWP_License_Manager

Plugin License Manager for WordPress

To add CalderaWP_License_Manager support to your plugin:

for EDD:

if( function_exists( 'cwp_license_manager_register_licensed_product' ) ){
	$product_params = array(
		'name'		=>	'Plugin Name',
		'slug'		=>	'plugin-slug',
		'url'		=>	'https://calderawp.com',
		'type'		=>	'plugin', // themes will be supported if this works out
		'updater'	=>	'edd',
		'version'	=>	'1.0.0',
		'key_store'	=>	'myplugin_license',
		'file'		=> __FILE__
	);		
	cwp_license_manager_register_licensed_product( $product_params );
}