namespace MO_CAW\LicenseLibrary;
use MO_CAW\LicenseLibrary\Classes\Mo_License_Constants;
if (defined("ABSPATH")) {
goto lp;
}
exit;
lp:
class Mo_License_Config
{
const PLUGIN_NAME = "Custom API for WP";
const PLUGIN_SLUG = "custom_api_wp_settings";
const PLUGIN_FILE = "custom-api-for-wordpress.php";
const SUPPORT_EMAIL = "apisupport@xecurify.com";
const APPLICATION = "wp_rest_custom_api_advanced_api_creation";
const OPTION_PREFIX = "mocaw_";
const PLUGIN_TYPE = "WP_SS";
const LICENSE_KEY_OPTION = "mo_caw_authentication_lk";
const CUSTOMER_EMAIL_OPTION = "mo_caw_user_display_details";
const CUSTOMER_TOKEN_OPTION = "mo_caw_customer_token";
const CUSTOMER_KEY_OPTION = "mo_caw_admin_customer_key";
const API_KEY_OPTION = "mo_caw_admin_api_key";
const ADD_DASHBOARD_WIDGET = true;
const LICENSE_CRON_INTERVAL = 7;
const GRACE_PERIOD_DAYS = 15;
const RENEWAL_FAQ = "https://faq.miniorange.com/knowledgebase/how-can-i-renew-my-wordpress-plugin-license/";
public static $notice_html = array(Mo_License_Constants::EXPIRY_IN_30_TO_60_DAYS => array("heading" => "Attention: Renewal Required for miniOrange Custom API for Wordpress Plugin License", "content" => "
\x9 \x9 <p class="mo-lic-admin-notice-text">
\x9 Your license for miniOrange Custom API for Wordpress Plugin under account <b>##customer_email##</b> is going to expire
\x9\x9 on <b><u>##expiry_date##</u></b>.
</p>
\x9 <p class="mo-lic-admin-notice-text">
\x9\x9 <b>Please renew the license before the expiry date. Failure to do so will cause the plugin to stop working. You can renew \xa\x9\x9 the license by following the <a href="https://faq.miniorange.com/knowledgebase/how-can-i-renew-my-wordpress-plugin-license/"
\x9 target="_blank">steps mentioned here</a>.</b>\xa \x9 </p>
\x9\x9 <p class="mo-lic-admin-notice-text">
\x9 Please note that a notification will be sent to the email address <b>##customer_email##</b>. In case you do not receive
\x9 the notification, are unable to access this mailbox, or have any questions regarding renewal, kindly contact us \xa\x9 immediately at <a href="mailto:apisupport@xecurify.com"><b>apisupport@xecurify.com</b></a>.
\x9\x9</p>"), Mo_License_Constants::EXPIRY_IN_10_TO_30_DAYS => array("heading" => "Attention: Renewal Required for miniOrange Custom API for Wordpress Plugin License", "content" => "\xa \x9 <p class="mo-lic-admin-notice-text"> \xa\x9\x9\x9 Your license for miniOrange Custom API for Wordpress Plugin under account <b>##customer_email##</b> is going to expire
\x9\x9\x9 on <b><u>##expiry_date##</u></b>.\xa </p>\xa \x9\x9 <p class="mo-lic-admin-notice-text">
\x9 \x9\x9 <b>Please renew the license before the expiry date. Failure to do so will cause the plugin to stop working. You can renew
\x9 \x9 the license by following the <a href="https://faq.miniorange.com/knowledgebase/how-can-i-renew-my-wordpress-plugin-license/"
target="_blank">steps mentioned here</a>.</b>\xa\x9 </p>\xa\x9 \x9<p class="mo-lic-admin-notice-text">
\x9\x9 Please note that a notification will be sent to the email address <b>##customer_email##</b>. In case you do not receive
\x9 the notification, are unable to access this mailbox, or have any questions regarding renewal, kindly contact us \xa \x9 immediately at <a href="mailto:apisupport@xecurify.com"><b>apisupport@xecurify.com</b></a>.
\x9 </p>"), Mo_License_Constants::EXPIRY_IN_10_DAYS => array("heading" => "Immediate Attention Required: Renew your miniOrange Custom API for Wordpress Plugin License", "content" => "
\x9 <p class="mo-lic-admin-notice-text"> \xa\x9 \x9 Your license for miniOrange Custom API for Wordpress Plugin under account <b>##customer_email##</b> is going to expire
\x9\x9 on <b><u>##expiry_date##</u></b>.\xa </p>\xa\x9\x9\x9\x9<p class="mo-lic-admin-notice-text">
\x9\x9 <b>Please renew the license before the expiry date. Failure to do so will cause the plugin to stop working. You can renew the \xa \x9license by following the <a href="https://faq.miniorange.com/knowledgebase/how-can-i-renew-my-wordpress-plugin-license/" target="_blank">
\x9\x9 steps mentioned here</a>.</b>\xa\x9 \x9 </p>\xa\x9 \x9\x9<p class="mo-lic-admin-notice-text">
\x9\x9 Please note that a notification will be sent to the email address <b> ##customer_email## </b>. In case you do not receive
\x9 the notification, are unable to access this mailbox, or have any questions regarding renewal, kindly contact us \xa \x9 immediately at <a href="mailto:apisupport@xecurify.com"><b>apisupport@xecurify.com</b></a>. \xa \x9\x9 </p>"), Mo_License_Constants::GRACE_PERIOD_STARTED => array("heading" => "Immediate Action Required: Renew your miniOrange Custom API for Wordpress Plugin License", "content" => "
\x9 <p class="mo-lic-admin-notice-text">
\x9 Your license for miniOrange Custom API for Wordpress Plugin under account <b>##customer_email##</b> has expired on <b>
<u>##expiry_date##</u></b>. <b>Your plugin license has expired and is currently in grace period for renewal.</b> The \xa plugin will become non-functional once the grace period is over i.e. on <b><u>##disable_date##</u></b>.\xa </p>\xa \x9 \x9<p class="mo-lic-admin-notice-text">
\x9 <b>You can renew the license by following the \xa \x9\x9\x9 <a href="https://faq.miniorange.com/knowledgebase/how-can-i-renew-my-wordpress-plugin-license/" target="_blank">
\x9 \x9 steps mentioned here</a>.</b>
\x9 </p>
\x9\x9<p class="mo-lic-admin-notice-text">
\x9\x9 Please note that a notification will be sent to the email address <b>##customer_email##</b>. In case you do not receive \xa\x9\x9\x9 the notification, are unable to access this mailbox, or have any questions regarding renewal, kindly contact us
\x9\x9\x9 immediately at <a href="mailto:apisupport@xecurify.com"><b>apisupport@xecurify.com</b></a>. \xa \x9\x9 </p>"), Mo_License_Constants::GRACE_PERIOD_EXPIRED => array("heading" => "Immediate Action Required: Renew your miniOrange Custom API for Wordpress Plugin License", "content" => "\xa <p class="mo-lic-admin-notice-text"> \xa Your license for miniOrange Custom API for Wordpress Plugin under account <b>##customer_email##</b> has already expired
\x9 on <b><u>##expiry_date##</u></b>.\xa </p>
\x9\x9\x9<p class="mo-lic-admin-notice-text">\xa\x9 \x9 Your grace period for license renewal has expired. <span style="font-size: px;color: red;"><u>Your custom created APIs stopped working \xa \x9\x9 on your site</u></span> and hence, you will not be able to use your custom created APIs anymore. <b>Renew your plugin license\xa\x9 \x9\x9 immediately</b> by following the
\x9 <a href="https://faq.miniorange.com/knowledgebase/how-can-i-renew-my-wordpress-plugin-license/" target="_blank">
\x9\x9 steps mentioned here</a> to restore custom created APIs on your site.
\x9\x9 </p>\xa \x9\x9<p class="mo-lic-admin-notice-text">
Please note that a notification will be sent to the email address <b>##customer_email##</b>. In case you do not receive \xa the notification, are unable to access this mailbox, or have any questions regarding renewal, kindly contact us \xa immediately at <a href="mailto:apisupport@xecurify.com"><b>apisupport@xecurify.com</b></a>.
</p>"));
public static $notice_options = array();
public static $tampered_notice_content = "\xa\x9\x9Please click on the <b>Sync your License</b> button in the Account Info tab to sync the license details.
\x9 Please reach out to us at <a href="mailto:apisupport@xecurify.com">apisupport@xecurify.com</a> if the
\x9issue persists.";
}
© 2023 Quttera Ltd. All rights reserved.