Last active
August 29, 2015 13:55
-
-
Save atwellpub/8777369 to your computer and use it in GitHub Desktop.
InboundNow - Prepare Extensions for Licensing and Updating
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function inboundnow_mailchimp_extension_setup() | |
{ | |
/*PREPARE THIS EXTENSION FOR LICENSING */ | |
if ( class_exists( 'INBOUNDNOW_EXTEND' ) ) | |
{ | |
$license = new INBOUNDNOW_EXTEND( INBOUNDNOW_MAILCHIMP_FILE , INBOUNDNOW_MAILCHIMP_LABEL , INBOUNDNOW_MAILCHIMP_SLUG , INBOUNDNOW_MAILCHIMP_CURRENT_VERSION , INBOUNDNOW_MAILCHIMP_REMOTE_ITEM_NAME ) ; | |
} | |
/* | |
* Parameters & Constants Explained: | |
* | |
* INBOUNDNOW_MAILCHIMP_FILE: | |
* This constant is defined by the __FILE__ command, which is points absolute path to the plugin's main file. eg: /home/www/wp-content/plugins/my-plugin/my-plugin.php. | |
* | |
* INBOUNDNOW_MAILCHIMP_LABEL: | |
* The plugin extension's formal name. | |
* | |
* INBOUNDNOW_MAILCHIMP_SLUG: | |
* This is the directory name of the plugin | |
* | |
* INBOUNDNOW_MAILCHIMP_CURRENT_VERSION : | |
* This is the current version of the extension | |
* | |
* INBOUNDNOW_MAILCHIMP_REMOTE_ITEM_NAME | |
* This will be defined by InboundNow.com team and will represent a special slug (usually the store item's permalink name) that will help connect the extension to InboundNow.com when making api calls. | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment