| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/plugins/landing-pages/shared/classes/ |
Upload File : |
<?php
/**
* Functions providing GPL product license support
* @package Shared
* @subpackage MarketingButton
*/
if (!function_exists('inboundnow_add_master_license') && !defined('INBOUND_ACCESS_LEVEL') )
{
/* Add Master License Key Setting*/
add_filter('lp_define_global_settings', 'inboundnow_add_master_license', 1, 1);
add_filter('wpleads_define_global_settings', 'inboundnow_add_master_license', 1, 1);
add_filter('wp_cta_define_global_settings', 'inboundnow_add_master_license', 1, 1);
function inboundnow_add_master_license($global_settings)
{
$key = '';
switch(current_filter())
{
case 'lp_define_global_settings':
$key = 'lp-license-keys';
break;
case 'wpleads_define_global_settings':
$key = 'wpleads-license-keys';
break;
case 'wp_cta_define_global_settings':
$key = 'wp-cta-license-keys';
break;
}
$global_settings[$key]['settings']['master-key'] = array(
'id' => 'extensions-license-keys-master-key-header',
'description' => __( "Head to http://www.inboundnow.com/ to retrieve your extension-ready license key.", 'inbound-pro' ),
'type' => 'header',
'default' => '<h3 class="lp_global_settings_header">'. __( 'InboundNow Master Key', 'inbound-pro' ) .'</h3>'
);
$global_settings[$key]['settings']['master-key'] = array(
'id' => 'inboundnow_master_license_key',
'option_name' => 'inboundnow_master_license_key',
'label' => __('Inbound Now API Key', 'inbound-pro' ),
'description' => __( "Head to http://www.inboundnow.com/account to retrieve your extension-ready license key.", 'inbound-pro' ),
'type' => 'text',
'default' => ''
);
return $global_settings;
}
}