Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/popup-bu.../com/config
File: dataConfig.php
'version' => '3.0',
[500] Fix | Delete
'stable_version' => '3.0',
[501] Fix | Delete
'pluginKey' => 'popupbuilder-adblock/PopupBuilderAdBlock.php',
[502] Fix | Delete
'key' => 'sgpbAdBlock',
[503] Fix | Delete
'url' => SG_POPUP_AD_BLOCK_URL
[504] Fix | Delete
);
[505] Fix | Delete
$keys[] = array(
[506] Fix | Delete
'label' => __('Advanced Closing', 'popup-builder'),
[507] Fix | Delete
'version' => '2.0',
[508] Fix | Delete
'stable_version' => '2.0',
[509] Fix | Delete
'pluginKey' => 'popupbuilder-advanced-closing/PopupBuilderAdvancedClosing.php',
[510] Fix | Delete
'key' => 'advancedClosing',
[511] Fix | Delete
'url' => SG_POPUP_ADVANCED_CLOSING_URL
[512] Fix | Delete
);
[513] Fix | Delete
$keys[] = array(
[514] Fix | Delete
'label' => __('Advanced Targeting', 'popup-builder'),
[515] Fix | Delete
'version' => '3.0',
[516] Fix | Delete
'stable_version' => '3.0',
[517] Fix | Delete
'pluginKey' => 'popupbuilder-advanced-targeting/PopupBuilderAdvancedTargeting.php',
[518] Fix | Delete
'key' => 'sgpbAdvancedTargeting',
[519] Fix | Delete
'url' => SG_POPUP_ADVANCED_TARGETING_URL
[520] Fix | Delete
);
[521] Fix | Delete
$keys[] = array(
[522] Fix | Delete
'label' => __('Age Restriction', 'popup-builder'),
[523] Fix | Delete
'version' => '2.0',
[524] Fix | Delete
'stable_version' => '2.0',
[525] Fix | Delete
'pluginKey' => 'popupbuilder-age-verification/PopupBuilderAgeverification.php',
[526] Fix | Delete
'key' => 'ageVerification',
[527] Fix | Delete
'url' => SGPB_AGE_VERIFICATION_PLUGIN_URL
[528] Fix | Delete
);
[529] Fix | Delete
$keys[] = array(
[530] Fix | Delete
'label' => __('Analytics', 'popup-builder'),
[531] Fix | Delete
'version' => '4.0',
[532] Fix | Delete
'stable_version' => '4.0',
[533] Fix | Delete
'pluginKey' => 'popupbuilder-analytics/PopupBuilderAnalytics.php',
[534] Fix | Delete
'key' => 'sgpbAnalitics',
[535] Fix | Delete
'url' => SG_POPUP_ANALYTICS_URL
[536] Fix | Delete
);
[537] Fix | Delete
$keys[] = array(
[538] Fix | Delete
'label' => __('AWeber', 'popup-builder'),
[539] Fix | Delete
'version' => '3.0',
[540] Fix | Delete
'stable_version' => '3.0',
[541] Fix | Delete
'pluginKey' => 'popupbuilder-aweber/PopupBuilderAWeber.php',
[542] Fix | Delete
'key' => 'sgpbAWeber',
[543] Fix | Delete
'url' => SG_POPUP_AWEBER_URL
[544] Fix | Delete
);
[545] Fix | Delete
$keys[] = array(
[546] Fix | Delete
'label' => __('Contact Form', 'popup-builder'),
[547] Fix | Delete
'version' => '3.0',
[548] Fix | Delete
'stable_version' => '3.0',
[549] Fix | Delete
'pluginKey' => 'popupbuilder-contact-form/PopupBuilderContactForm.php',
[550] Fix | Delete
'key' => 'contactForm',
[551] Fix | Delete
'url' => SG_POPUP_CONTACT_FORM_URL
[552] Fix | Delete
);
[553] Fix | Delete
$keys[] = array(
[554] Fix | Delete
'label' => __('Countdown', 'popup-builder'),
[555] Fix | Delete
'version' => '3.0',
[556] Fix | Delete
'stable_version' => '3.0',
[557] Fix | Delete
'pluginKey' => 'popupbuilder-countdown/PopupBuilderCountdown.php',
[558] Fix | Delete
'key' => 'countdown',
[559] Fix | Delete
'url' => SG_POPUP_COUNTDOWN_URL
[560] Fix | Delete
);
[561] Fix | Delete
$keys[] = array(
[562] Fix | Delete
'label' => __('EDD', 'popup-builder'),
[563] Fix | Delete
'version' => '2.0',
[564] Fix | Delete
'stable_version' => '2.0',
[565] Fix | Delete
'pluginKey' => 'popupbuilder-edd/PopupBuilderEdd.php',
[566] Fix | Delete
'key' => 'edd',
[567] Fix | Delete
'url' => SGPB_EDD_PLUGIN_URL
[568] Fix | Delete
);
[569] Fix | Delete
$keys[] = array(
[570] Fix | Delete
'label' => __('Exit Intent','popup-builder'),
[571] Fix | Delete
'version' => '4.0',
[572] Fix | Delete
'stable_version' => '4.0',
[573] Fix | Delete
'pluginKey' => 'popupbuilder-exit-intent/PopupBuilderExitIntent.php',
[574] Fix | Delete
'key' => 'sgpbExitIntent',
[575] Fix | Delete
'url' => SG_POPUP_EXIT_INTENT_URL
[576] Fix | Delete
);
[577] Fix | Delete
$keys[] = array(
[578] Fix | Delete
'label' => __('Gamification', 'popup-builder'),
[579] Fix | Delete
'version' => '2.0',
[580] Fix | Delete
'stable_version' => '2.0',
[581] Fix | Delete
'pluginKey' => 'popupbuilder-gamification/PopupBuilderGamification.php',
[582] Fix | Delete
'key' => 'gamification',
[583] Fix | Delete
'url' => SGPB_GAMIFICATION_PLUGIN_URL
[584] Fix | Delete
);
[585] Fix | Delete
$keys[] = array(
[586] Fix | Delete
'label' => __('Geo Targeting', 'popup-builder'),
[587] Fix | Delete
'version' => '3.0',
[588] Fix | Delete
'stable_version' => '3.0',
[589] Fix | Delete
'pluginKey' => 'popupbuilder-geo-targeting/PopupBuilderGeoTargeting.php',
[590] Fix | Delete
'key' => 'geo-targeting',
[591] Fix | Delete
'url' => SG_POPUP_GEO_TARGETING_URL
[592] Fix | Delete
);
[593] Fix | Delete
$keys[] = array(
[594] Fix | Delete
'label' => __('Iframe', 'popup-builder'),
[595] Fix | Delete
'version' => '2.0',
[596] Fix | Delete
'stable_version' => '2.0',
[597] Fix | Delete
'pluginKey' => 'popupbuilder-iframe/PopupBuilderIframe.php',
[598] Fix | Delete
'key' => 'iframe',
[599] Fix | Delete
'url' => SG_POPUP_IFRAME_URL
[600] Fix | Delete
);
[601] Fix | Delete
$keys[] = array(
[602] Fix | Delete
'label' => __('Inactivity', 'popup-builder'),
[603] Fix | Delete
'version' => '2.0',
[604] Fix | Delete
'stable_version' => '2.0',
[605] Fix | Delete
'pluginKey' => 'popupbuilder-inactivity/PopupBuilderInactivity.php',
[606] Fix | Delete
'key' => 'sgpbInactivity',
[607] Fix | Delete
'url' => SG_POPUP_INACTIVITY_URL
[608] Fix | Delete
);
[609] Fix | Delete
$keys[] = array(
[610] Fix | Delete
'label' => __('Log In', 'popup-builder'),
[611] Fix | Delete
'version' => '3.0',
[612] Fix | Delete
'stable_version' => '3.0',
[613] Fix | Delete
'pluginKey' => 'popupbuilder-login/PopupBuilderLogin.php',
[614] Fix | Delete
'key' => 'login',
[615] Fix | Delete
'url' => SG_POPUP_LOGIN_URL
[616] Fix | Delete
);
[617] Fix | Delete
$keys[] = array(
[618] Fix | Delete
'label' => __('Mailchimp', 'popup-builder'),
[619] Fix | Delete
'version' => '4.0',
[620] Fix | Delete
'stable_version' => '4.0',
[621] Fix | Delete
'pluginKey' => 'popupbuilder-mailchimp/PopupBuilderMailchimp.php',
[622] Fix | Delete
'key' => 'sgpbMailchimp',
[623] Fix | Delete
'url' => SG_POPUP_MAILCHIMP_URL
[624] Fix | Delete
);
[625] Fix | Delete
$keys[] = array(
[626] Fix | Delete
'label' => __('PDF', 'popup-builder'),
[627] Fix | Delete
'version' => '2.0',
[628] Fix | Delete
'stable_version' => '2.0',
[629] Fix | Delete
'pluginKey' => 'popupbuilder-pdf/PopupBuilderPdf.php',
[630] Fix | Delete
'key' => 'pdf',
[631] Fix | Delete
'url' => SGPB_PDF_PLUGIN_URL
[632] Fix | Delete
);
[633] Fix | Delete
$keys[] = array(
[634] Fix | Delete
'label' => __('Push Notification', 'popup-builder'),
[635] Fix | Delete
'version' => '2.0',
[636] Fix | Delete
'stable_version' => '2.0',
[637] Fix | Delete
'pluginKey' => 'popupbuilder-push-notification/PopupBuilderPushNotification.php',
[638] Fix | Delete
'key' => 'pushNotification',
[639] Fix | Delete
'url' => SG_POPUP_PUSH_NOTIFICATION_URL
[640] Fix | Delete
);
[641] Fix | Delete
$keys[] = array(
[642] Fix | Delete
'label' => __('Random', 'popup-builder'),
[643] Fix | Delete
'version' => '2.0',
[644] Fix | Delete
'stable_version' => '2.0',
[645] Fix | Delete
'pluginKey' => 'popupbuilder-random/PopupBuilderRandom.php',
[646] Fix | Delete
'key' => 'sgpbRandom',
[647] Fix | Delete
'url' => SG_POPUP_RANDOM_URL
[648] Fix | Delete
);
[649] Fix | Delete
$keys[] = array(
[650] Fix | Delete
'label' => __('Recent Sales', 'popup-builder'),
[651] Fix | Delete
'version' => '2.0',
[652] Fix | Delete
'stable_version' => '2.0',
[653] Fix | Delete
'pluginKey' => 'popupbuilder-recent-sales/PopupBuilderRecentSales.php',
[654] Fix | Delete
'key' => 'sgpbRecentSales',
[655] Fix | Delete
'url' => SG_POPUP_RECENT_SALES_URL
[656] Fix | Delete
);
[657] Fix | Delete
$keys[] = array(
[658] Fix | Delete
'label' => __('Registration', 'popup-builder'),
[659] Fix | Delete
'version' => '2.0',
[660] Fix | Delete
'stable_version' => '2.0',
[661] Fix | Delete
'pluginKey' => 'popupbuilder-registration/PopupBuilderRegistration.php',
[662] Fix | Delete
'key' => 'registration',
[663] Fix | Delete
'url' => SG_POPUP_REGISTRATION_URL
[664] Fix | Delete
);
[665] Fix | Delete
$keys[] = array(
[666] Fix | Delete
'label' => __('Restriction', 'popup-builder'),
[667] Fix | Delete
'version' => '3.0',
[668] Fix | Delete
'stable_version' => '3.0',
[669] Fix | Delete
'pluginKey' => 'popupbuilder-restriction/PopupBuilderAgerestriction.php',
[670] Fix | Delete
'key' => 'ageRestriction',
[671] Fix | Delete
'url' => SG_POPUP_RESTRICTION_URL
[672] Fix | Delete
);
[673] Fix | Delete
$keys[] = array(
[674] Fix | Delete
'label' => __('Scheduling', 'popup-builder'),
[675] Fix | Delete
'version' => '2.0',
[676] Fix | Delete
'stable_version' => '2.0',
[677] Fix | Delete
'pluginKey' => 'popupbuilder-scheduling/PopupBuilderScheduling.php',
[678] Fix | Delete
'key' => 'scheduling',
[679] Fix | Delete
'url' => SG_POPUP_SCHEDULING_URL
[680] Fix | Delete
);
[681] Fix | Delete
$keys[] = array(
[682] Fix | Delete
'label' => __('Scroll', 'popup-builder'),
[683] Fix | Delete
'version' => '3.0',
[684] Fix | Delete
'stable_version' => '3.0',
[685] Fix | Delete
'pluginKey' => 'popupbuilder-scroll/PopupBuilderScroll.php',
[686] Fix | Delete
'key' => 'sgpbScroll',
[687] Fix | Delete
'url' => SG_POPUP_SCROLL_URL
[688] Fix | Delete
);
[689] Fix | Delete
$keys[] = array(
[690] Fix | Delete
'label' => __('Social', 'popup-builder'),
[691] Fix | Delete
'version' => '2.0',
[692] Fix | Delete
'stable_version' => '2.0',
[693] Fix | Delete
'pluginKey' => 'popupbuilder-social/PopupBuilderSocial.php',
[694] Fix | Delete
'key' => 'social',
[695] Fix | Delete
'url' => SG_POPUP_SOCIAL_URL
[696] Fix | Delete
);
[697] Fix | Delete
$keys[] = array(
[698] Fix | Delete
'label' => __('Subscription Plus', 'popup-builder'),
[699] Fix | Delete
'version' => '4.0',
[700] Fix | Delete
'stable_version' => '4.0',
[701] Fix | Delete
'pluginKey' => 'popupbuilder-subscription-plus/PopupBuilderSubscriptionPlus.php',
[702] Fix | Delete
'key' => 'subscriptionPlus',
[703] Fix | Delete
'url' => SG_POPUP_SUBSCRIPTION_PLUS_URL
[704] Fix | Delete
);
[705] Fix | Delete
$keys[] = array(
[706] Fix | Delete
'label' => __('Video', 'popup-builder'),
[707] Fix | Delete
'version' => '2.0',
[708] Fix | Delete
'stable_version' => '2.0',
[709] Fix | Delete
'pluginKey' => 'popupbuilder-video/PopupBuilderVideo.php',
[710] Fix | Delete
'key' => 'video',
[711] Fix | Delete
'url' => SG_POPUP_VIDEO_URL
[712] Fix | Delete
);
[713] Fix | Delete
$keys[] = array(
[714] Fix | Delete
'label' => __('WooCommerce', 'popup-builder'),
[715] Fix | Delete
'version' => '3.0',
[716] Fix | Delete
'stable_version' => '3.0',
[717] Fix | Delete
'pluginKey' => 'popupbuilder-woocommerce/popupbuilderWoocommerce.php',
[718] Fix | Delete
'key' => 'sgpbWOO',
[719] Fix | Delete
'url' => SG_POPUP_WOOCOMMERCE_URL
[720] Fix | Delete
);
[721] Fix | Delete
[722] Fix | Delete
return apply_filters('sgpbExtensionsKeys', $keys);
[723] Fix | Delete
}
[724] Fix | Delete
[725] Fix | Delete
private static function getBehaviorAfterSpecialEventsConfig()
[726] Fix | Delete
{
[727] Fix | Delete
$columns = array(
[728] Fix | Delete
'param' => 'Event',
[729] Fix | Delete
'operator' => 'Behavior',
[730] Fix | Delete
'value' => 'Value'
[731] Fix | Delete
);
[732] Fix | Delete
[733] Fix | Delete
$columnTypes = array(
[734] Fix | Delete
'param' => 'select',
[735] Fix | Delete
'operator' => 'select',
[736] Fix | Delete
'value' => 'select',
[737] Fix | Delete
'select_event' => 'select',
[738] Fix | Delete
'select_behavior' => 'select',
[739] Fix | Delete
'redirect-url' => 'url',
[740] Fix | Delete
'open-popup' => 'select',
[741] Fix | Delete
'close-popup' => 'number'
[742] Fix | Delete
);
[743] Fix | Delete
[744] Fix | Delete
$params = array(
[745] Fix | Delete
'param' => array(
[746] Fix | Delete
'select_event' => __('Select event', 'popup-builder'),
[747] Fix | Delete
__('Special events', 'popup-builder') => array(
[748] Fix | Delete
SGPB_CONTACT_FORM_7_BEHAVIOR_KEY => __('Contact Form 7 submission', 'popup-builder')
[749] Fix | Delete
)
[750] Fix | Delete
),
[751] Fix | Delete
'operator' => array(
[752] Fix | Delete
'select_behavior' => __('Select behavior', 'popup-builder'),
[753] Fix | Delete
__('Behaviors', 'popup-builder') => array(
[754] Fix | Delete
'redirect-url' => __('Redirect to URL', 'popup-builder'),
[755] Fix | Delete
'open-popup' => __('Open another popup', 'popup-builder'),
[756] Fix | Delete
'close-popup' => __('Close current popup', 'popup-builder')
[757] Fix | Delete
)
[758] Fix | Delete
),
[759] Fix | Delete
'redirect-url' => '',
[760] Fix | Delete
'open-popup' => array(),
[761] Fix | Delete
'close-popup' => '',
[762] Fix | Delete
'select_event' => null,
[763] Fix | Delete
'select_behavior' => null
[764] Fix | Delete
);
[765] Fix | Delete
[766] Fix | Delete
$initialData = array(
[767] Fix | Delete
array(
[768] Fix | Delete
'param' => 'select_event',
[769] Fix | Delete
'operator' => ''
[770] Fix | Delete
)
[771] Fix | Delete
);
[772] Fix | Delete
[773] Fix | Delete
$attrs = array(
[774] Fix | Delete
'param' => array(
[775] Fix | Delete
'htmlAttrs' => array(
[776] Fix | Delete
'class' => 'js-sg-select2 js-select-basic',
[777] Fix | Delete
'data-select-class' => 'js-select-basic',
[778] Fix | Delete
'data-select-type' => 'basic'
[779] Fix | Delete
),
[780] Fix | Delete
'infoAttrs' => array(
[781] Fix | Delete
'label' => __('Event', 'popup-builder'),
[782] Fix | Delete
'info' => __('Select the special event you want to catch.', 'popup-builder')
[783] Fix | Delete
)
[784] Fix | Delete
),
[785] Fix | Delete
'operator' => array(
[786] Fix | Delete
'htmlAttrs' => array(
[787] Fix | Delete
'class' => 'js-sg-select2 js-select-basic',
[788] Fix | Delete
'data-select-class' => 'js-select-basic',
[789] Fix | Delete
'data-select-type' => 'basic'
[790] Fix | Delete
),
[791] Fix | Delete
'infoAttrs' => array(
[792] Fix | Delete
'label' => __('Behavior', 'popup-builder'),
[793] Fix | Delete
'info' => __('Select what should happen after the special event.', 'popup-builder')
[794] Fix | Delete
)
[795] Fix | Delete
),
[796] Fix | Delete
'redirect-url' => array(
[797] Fix | Delete
'htmlAttrs' => array(
[798] Fix | Delete
'class' => 'sg-full-width formItem__input formItem__input_select2_num_input',
[799] Fix | Delete
'placeholder' => 'https://www.example.com',
[800] Fix | Delete
'required' => 'required'
[801] Fix | Delete
),
[802] Fix | Delete
'infoAttrs' => array(
[803] Fix | Delete
'label' => __('URL', 'popup-builder'),
[804] Fix | Delete
'info' => __('Enter the URL of the page should be redirected to.', 'popup-builder')
[805] Fix | Delete
)
[806] Fix | Delete
),
[807] Fix | Delete
'open-popup' => array(
[808] Fix | Delete
'htmlAttrs' => array(
[809] Fix | Delete
'class' => 'js-sg-select2 js-select-ajax',
[810] Fix | Delete
'data-select-class' => 'js-select-ajax',
[811] Fix | Delete
'data-select-type' => 'ajax',
[812] Fix | Delete
'data-value-param' => SG_POPUP_POST_TYPE,
[813] Fix | Delete
'required' => 'required'
[814] Fix | Delete
),
[815] Fix | Delete
'infoAttrs' => array(
[816] Fix | Delete
'label' => __('Select popup', 'popup-builder'),
[817] Fix | Delete
'info' => __('Select the popup that should be opened.', 'popup-builder')
[818] Fix | Delete
)
[819] Fix | Delete
),
[820] Fix | Delete
'close-popup' => array(
[821] Fix | Delete
'htmlAttrs' => array(
[822] Fix | Delete
'class' => 'sg-full-width formItem__input formItem__input_select2_num_input',
[823] Fix | Delete
'required' => 'required',
[824] Fix | Delete
'value' => 0,
[825] Fix | Delete
'min' => 0
[826] Fix | Delete
),
[827] Fix | Delete
'infoAttrs' => array(
[828] Fix | Delete
'label' => __('Delay', 'popup-builder'),
[829] Fix | Delete
'info' => __('After how many seconds the popup should close.', 'popup-builder')
[830] Fix | Delete
)
[831] Fix | Delete
)
[832] Fix | Delete
);
[833] Fix | Delete
[834] Fix | Delete
$config = array();
[835] Fix | Delete
$config['columns'] = apply_filters('sgPopupSpecialEventsColumns', $columns);
[836] Fix | Delete
$config['columnTypes'] = apply_filters('sgPopupSpecialEventsColumnTypes', $columnTypes);
[837] Fix | Delete
$config['paramsData'] = apply_filters('sgPopupSpecialEventsParams', $params);
[838] Fix | Delete
$config['initialData'] = apply_filters('sgPopupSpecialEventsInitialData', $initialData);
[839] Fix | Delete
$config['attrs'] = apply_filters('sgPopupSpecialEventsAttrs', $attrs);
[840] Fix | Delete
$config['operators'] = apply_filters('sgpbPopupSpecialEventsOperators', array());
[841] Fix | Delete
$config['specialDefaultOperator'] = apply_filters('sgpbPopupSpecialEventsDefaultOperators', ' ');
[842] Fix | Delete
[843] Fix | Delete
return $config;
[844] Fix | Delete
}
[845] Fix | Delete
[846] Fix | Delete
public static function popupDefaultOptions()
[847] Fix | Delete
{
[848] Fix | Delete
global $SGPB_OPTIONS;
[849] Fix | Delete
global $SGPB_DATA_CONFIG_ARRAY;
[850] Fix | Delete
[851] Fix | Delete
$targetDefaultValue = array($SGPB_DATA_CONFIG_ARRAY['target']['initialData']);
[852] Fix | Delete
[853] Fix | Delete
$eventsDefaultData = array($SGPB_DATA_CONFIG_ARRAY['events']['initialData']);
[854] Fix | Delete
$conditionsDefaultData = array($SGPB_DATA_CONFIG_ARRAY['conditions']['initialData']);
[855] Fix | Delete
$specialEventsDefaultData = array($SGPB_DATA_CONFIG_ARRAY['behavior-after-special-events']['initialData']);
[856] Fix | Delete
[857] Fix | Delete
$options = array();
[858] Fix | Delete
[859] Fix | Delete
$options[] = array('name' => 'sgpb-target', 'type' => 'array', 'defaultValue' => $targetDefaultValue);
[860] Fix | Delete
$options[] = array('name' => 'sgpb-events', 'type' => 'array', 'defaultValue' => $eventsDefaultData);
[861] Fix | Delete
$options[] = array('name' => 'sgpb-conditions', 'type' => 'array', 'defaultValue' => $conditionsDefaultData, 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
[862] Fix | Delete
$options[] = array('name' => 'sgpb-behavior-after-special-events', 'type' => 'array', 'defaultValue' => $specialEventsDefaultData);
[863] Fix | Delete
$options[] = array('name' => 'sgpb-type', 'type' => 'text', 'defaultValue' => 'html');
[864] Fix | Delete
$options[] = array('name' => 'sgpb-popup-counting-disabled', 'type' => 'checkbox', 'defaultValue' => '');
[865] Fix | Delete
$options[] = array('name' => 'sgpb-esc-key', 'type' => 'checkbox', 'defaultValue' => 'on');
[866] Fix | Delete
$options[] = array('name' => 'sgpb-enable-close-button', 'type' => 'checkbox', 'defaultValue' => 'on');
[867] Fix | Delete
$options[] = array('name' => 'sgpb-enable-content-scrolling', 'type' => 'checkbox', 'defaultValue' => 'on');
[868] Fix | Delete
$options[] = array('name' => 'sgpb-overlay-click', 'type' => 'checkbox', 'defaultValue' => 'on');
[869] Fix | Delete
$options[] = array('name' => 'sgpb-content-click', 'type' => 'checkbox', 'defaultValue' => '');
[870] Fix | Delete
$options[] = array('name' => 'sgpb-subs-hide-subs-users', 'type' => 'checkbox', 'defaultValue' => 'on');
[871] Fix | Delete
$options[] = array('name' => 'sgpb-content-click-behavior', 'type' => 'text', 'defaultValue' => 'close');
[872] Fix | Delete
$options[] = array('name' => 'sgpb-click-redirect-to-url', 'type' => 'text', 'defaultValue' => '');
[873] Fix | Delete
$options[] = array('name' => 'sgpb-redirect-to-new-tab', 'type' => 'checkbox', 'defaultValue' => '');
[874] Fix | Delete
$options[] = array('name' => 'sgpb-copy-to-clipboard-text', 'type' => 'text', 'defaultValue' => '');
[875] Fix | Delete
$options[] = array('name' => 'sgpb-copy-to-clipboard-close-popup', 'type' => 'checkbox', 'defaultValue' => 'on');
[876] Fix | Delete
$options[] = array('name' => 'sgpb-copy-to-clipboard-alert', 'type' => 'checkbox', 'defaultValue' => 'on');
[877] Fix | Delete
$options[] = array('name' => 'sgpb-copy-to-clipboard-message', 'type' => 'text', 'defaultValue' => __('Copied to Clipboard!', 'popup-builder'));
[878] Fix | Delete
$options[] = array('name' => 'sgpb-disable-popup-closing', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
[879] Fix | Delete
$options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => 'responsiveMode');
[880] Fix | Delete
$options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => '100');
[881] Fix | Delete
$options[] = array('name' => 'sgpb-width', 'type' => 'text', 'defaultValue' => '640px');
[882] Fix | Delete
$options[] = array('name' => 'sgpb-height', 'type' => 'text', 'defaultValue' => '480px');
[883] Fix | Delete
$options[] = array('name' => 'sgpb-max-width', 'type' => 'text', 'defaultValue' => '');
[884] Fix | Delete
$options[] = array('name' => 'sgpb-max-height', 'type' => 'text', 'defaultValue' => '');
[885] Fix | Delete
$options[] = array('name' => 'sgpb-min-width', 'type' => 'text', 'defaultValue' => '120px');
[886] Fix | Delete
$options[] = array('name' => 'sgpb-min-height', 'type' => 'text', 'defaultValue' => '');
[887] Fix | Delete
$options[] = array('name' => 'sgpb-popup-timer-status', 'type' => 'checkbox', 'defaultValue' => '');
[888] Fix | Delete
$options[] = array('name' => 'sgpb-popup-start-timer', 'type' => 'text', 'defaultValue' => '');
[889] Fix | Delete
$options[] = array('name' => 'sgpb-popup-end-timer', 'type' => 'text', 'defaultValue' => '');
[890] Fix | Delete
$options[] = array('name' => 'sgpb-popup-fixed', 'type' => 'checkbox', 'defaultValue' => '');
[891] Fix | Delete
$options[] = array('name' => 'sgpb-popup-fixed-position', 'type' => 'text', 'defaultValue' => '');
[892] Fix | Delete
$options[] = array('name' => 'sgpb-popup-delay', 'type' => 'text', 'defaultValue' => '0');
[893] Fix | Delete
$options[] = array('name' => 'sgpb-popup-order', 'type' => 'text', 'defaultValue' => '0');
[894] Fix | Delete
$options[] = array('name' => 'sgpb-disable-page-scrolling', 'type' => 'checkbox', 'defaultValue' => '');
[895] Fix | Delete
$options[] = array('name' => 'sgpb-content-padding', 'type' => 'text', 'defaultValue' => 7);
[896] Fix | Delete
$options[] = array('name' => 'sgpb-popup-z-index', 'type' => 'text', 'defaultValue' => 9999);
[897] Fix | Delete
$options[] = array('name' => 'sgpb-content-custom-class', 'type' => 'text', 'defaultValue' => 'sg-popup-content');
[898] Fix | Delete
$options[] = array('name' => 'sgpb-close-after-page-scroll', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
[899] Fix | Delete
$options[] = array('name' => 'sgpb-auto-close', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
[900] Fix | Delete
$options[] = array('name' => 'sgpb-auto-close-time', 'type' => 'number', 'defaultValue' => 0);
[901] Fix | Delete
$options[] = array('name' => 'sgpb-reopen-after-form-submission', 'type' => 'checkbox', 'defaultValue' => '');
[902] Fix | Delete
$options[] = array('name' => 'sgpb-open-sound', 'type' => 'checkbox', 'defaultValue' => '');
[903] Fix | Delete
$options[] = array('name' => 'sgpb-sound-url', 'type' => 'text', 'defaultValue' => SG_POPUP_SOUND_URL.SGPB_POPUP_DEFAULT_SOUND);
[904] Fix | Delete
$options[] = array('name' => 'sgpb-open-animation', 'type' => 'checkbox', 'defaultValue' => '');
[905] Fix | Delete
$options[] = array('name' => 'sgpb-close-animation', 'type' => 'checkbox', 'defaultValue' => '');
[906] Fix | Delete
$options[] = array('name' => 'sgpb-open-animation-speed', 'type' => 'text', 'defaultValue' => 1);
[907] Fix | Delete
$options[] = array('name' => 'sgpb-close-animation-speed', 'type' => 'text', 'defaultValue' => 1);
[908] Fix | Delete
$options[] = array('name' => 'sgpb-popup-themes', 'type' => 'text', 'defaultValue' => 'sgpb-theme-1');
[909] Fix | Delete
$options[] = array('name' => 'sgpb-enable-popup-overlay', 'type' => 'checkbox', 'defaultValue' => 'on', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
[910] Fix | Delete
$options[] = array('name' => 'sgpb-overlay-custom-class', 'type' => 'text', 'defaultValue' => 'sgpb-popup-overlay');
[911] Fix | Delete
$options[] = array('name' => 'sgpb-overlay-color', 'type' => 'text', 'defaultValue' => '');
[912] Fix | Delete
$options[] = array('name' => 'sgpb-background-color', 'type' => 'text', 'defaultValue' => '#FFFFFF');
[913] Fix | Delete
$options[] = array('name' => 'sgpb-overlay-opacity', 'type' => 'text', 'defaultValue' => 0.8);
[914] Fix | Delete
$options[] = array('name' => 'sgpb-content-opacity', 'type' => 'text', 'defaultValue' => 0.8);
[915] Fix | Delete
$options[] = array('name' => 'sgpb-background-image', 'type' => 'text', 'defaultValue' => '');
[916] Fix | Delete
$options[] = array('name' => 'sgpb-show-background', 'type' => 'checkbox', 'defaultValue' => '');
[917] Fix | Delete
$options[] = array('name' => 'sgpb-force-rtl', 'type' => 'checkbox', 'defaultValue' => '');
[918] Fix | Delete
$options[] = array('name' => 'sgpb-disable-border', 'type' => 'checkbox', 'defaultValue' => '');
[919] Fix | Delete
$options[] = array('name' => 'sgpb-background-image-mode', 'type' => 'text', 'defaultValue' => 'no-repeat');
[920] Fix | Delete
$options[] = array('name' => 'sgpb-image-url', 'type' => 'text', 'defaultValue' => '');
[921] Fix | Delete
$options[] = array('name' => 'sgpb-close-button-delay', 'type' => 'number', 'defaultValue' => 0);
[922] Fix | Delete
$options[] = array('name' => 'sgpb-button-position-bottom', 'type' => 'number', 'defaultValue' => 9);
[923] Fix | Delete
$options[] = array('name' => 'sgpb-button-position-right', 'type' => 'number', 'defaultValue' => 9);
[924] Fix | Delete
$options[] = array('name' => 'sgpb-button-image', 'type' => 'text', 'defaultValue' => '');
[925] Fix | Delete
$options[] = array('name' => 'sgpb-button-image-width', 'type' => 'text', 'defaultValue' => 21);
[926] Fix | Delete
$options[] = array('name' => 'sgpb-button-image-height', 'type' => 'text', 'defaultValue' => 21);
[927] Fix | Delete
$options[] = array('name' => 'sgpb-is-active', 'type' => 'checkbox', 'defaultValue' => 'on');
[928] Fix | Delete
$options[] = array('name' => 'sgpb-subs-form-bg-color', 'type' => 'text', 'defaultValue' => '#FFFFFF');
[929] Fix | Delete
$options[] = array('name' => 'sgpb-subs-form-bg-opacity', 'type' => 'text', 'defaultValue' => 0.8);
[930] Fix | Delete
$options[] = array('name' => 'sgpb-subs-form-padding', 'type' => 'number', 'defaultValue' => 2);
[931] Fix | Delete
$options[] = array('name' => 'sgpb-subs-email-placeholder', 'type' => 'text', 'defaultValue' => __('Email *', 'popup-builder'));
[932] Fix | Delete
$options[] = array('name' => 'sgpb-subs-first-name-status', 'type' => 'checkbox', 'defaultValue' => 'on');
[933] Fix | Delete
$options[] = array('name' => 'sgpb-subs-first-placeholder', 'type' => 'text', 'defaultValue' => __('First name', 'popup-builder'));
[934] Fix | Delete
$options[] = array('name' => 'sgpb-subs-first-name-required', 'type' => 'checkbox', 'defaultValue' => '');
[935] Fix | Delete
$options[] = array('name' => 'sgpb-subs-last-name-status', 'type' => 'checkbox', 'defaultValue' => 'on');
[936] Fix | Delete
$options[] = array('name' => 'sgpb-subs-last-placeholder', 'type' => 'text', 'defaultValue' => __('Last name', 'popup-builder'));
[937] Fix | Delete
$options[] = array('name' => 'sgpb-subs-last-name-required', 'type' => 'checkbox', 'defaultValue' => '');
[938] Fix | Delete
$options[] = array('name' => 'sgpb-subs-validation-message', 'type' => 'text', 'defaultValue' => __('This field is required.', 'popup-builder'));
[939] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-width', 'type' => 'text', 'defaultValue' => '300px');
[940] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-height', 'type' => 'text', 'defaultValue' => '40px');
[941] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-border-width', 'type' => 'text', 'defaultValue' => '2px');
[942] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-border-color', 'type' => 'text', 'defaultValue' => '#e8e8e8');
[943] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-bg-color', 'type' => 'text', 'defaultValue' => '#f1f1f1');
[944] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-color', 'type' => 'text', 'defaultValue' => '#000000');
[945] Fix | Delete
$options[] = array('name' => 'sgpb-subs-text-placeholder-color', 'type' => 'text', 'defaultValue' => '#757575');
[946] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-width', 'type' => 'text', 'defaultValue' => '300px');
[947] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-height', 'type' => 'text', 'defaultValue' => '40px');
[948] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-border-radius', 'type' => 'text', 'defaultValue' => '4px');
[949] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-border-width', 'type' => 'text', 'defaultValue' => '0px');
[950] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-border-color', 'type' => 'text', 'defaultValue' => '#007fe1');
[951] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-title', 'type' => 'text', 'defaultValue' => __('Subscribe', 'popup-builder'));
[952] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-progress-title', 'type' => 'text', 'defaultValue' => __('Please wait...', 'popup-builder'));
[953] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-bg-color', 'type' => 'text', 'defaultValue' => '#007fe1');
[954] Fix | Delete
$options[] = array('name' => 'sgpb-subs-btn-text-color', 'type' => 'text', 'defaultValue' => '#FFFFFF');
[955] Fix | Delete
$options[] = array('name' => 'sgpb-subs-error-message', 'type' => 'text', 'defaultValue' => SGPB_SUBSCRIPTION_ERROR_MESSAGE);
[956] Fix | Delete
$options[] = array('name' => 'sgpb-subs-invalid-message', 'type' => 'text', 'defaultValue' => __('Please enter a valid email address', 'popup-builder').'.');
[957] Fix | Delete
$options[] = array('name' => 'sgpb-subs-success-behavior', 'type' => 'text', 'defaultValue' => 'showMessage');
[958] Fix | Delete
$options[] = array('name' => 'sgpb-subs-success-message', 'type' => 'text', 'defaultValue' => __('You have successfully subscribed to the newsletter', 'popup-builder'));
[959] Fix | Delete
$options[] = array('name' => 'sgpb-subs-success-redirect-URL', 'type' => 'text', 'defaultValue' => '');
[960] Fix | Delete
$options[] = array('name' => 'sgpb-subs-success-redirect-new-tab', 'type' => 'checkbox', 'defaultValue' => '');
[961] Fix | Delete
$options[] = array('name' => 'sgpb-subs-gdpr-status', 'type' => 'checkbox', 'defaultValue' => '');
[962] Fix | Delete
$options[] = array('name' => 'sgpb-subs-show-form-to-top', 'type' => 'checkbox', 'defaultValue' => '');
[963] Fix | Delete
$options[] = array('name' => 'sgpb-subs-gdpr-label', 'type' => 'text', 'defaultValue' => __('Accept Terms', 'popup-builder'));
[964] Fix | Delete
/* translators: Website Blog info */
[965] Fix | Delete
$options[] = array('name' => 'sgpb-subs-gdpr-text', 'type' => 'text', 'defaultValue' => sprintf( __('%s will use the information you provide on this form to be in touch with you and to provide updates and marketing.', 'popup-builder'), get_bloginfo()));
[966] Fix | Delete
$options[] = array('name' => 'sgpb-subs-fields', 'type' => 'sgpb', 'defaultValue' => '');
[967] Fix | Delete
$options[] = array('name' => 'sgpb-fblike-like-url', 'type' => 'text', 'defaultValue' => '');
[968] Fix | Delete
$options[] = array('name' => 'sgpb-fblike-layout', 'type' => 'text', 'defaultValue' => 'standard');
[969] Fix | Delete
$options[] = array('name' => 'sgpb-fblike-dont-show-share-button', 'type' => 'checkbox', 'defaultValue' => '');
[970] Fix | Delete
$options[] = array('name' => 'sgpb-border-color', 'type' => 'text', 'defaultValue' => '#000000');
[971] Fix | Delete
$options[] = array('name' => 'sgpb-border-radius', 'type' => 'text', 'defaultValue' => 0);
[972] Fix | Delete
$options[] = array('name' => 'sgpb-show-popup-same-user', 'type' => 'checkbox', 'defaultValue' => '');
[973] Fix | Delete
$options[] = array('name' => 'sgpb-show-popup-same-user-count', 'type' => 'number', 'defaultValue' => 1);
[974] Fix | Delete
$options[] = array('name' => 'sgpb-show-popup-same-user-expiry', 'type' => 'number', 'defaultValue' => 1);
[975] Fix | Delete
$options[] = array('name' => 'sgpb-show-popup-same-user-page-level', 'type' => 'checkbox', 'defaultValue' => '');
[976] Fix | Delete
[977] Fix | Delete
$options[] = array('name' => 'sgpb-enable-floating-button', 'type' => 'checkbox', 'defaultValue' => '');
[978] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-style', 'type' => 'text', 'defaultValue' => 'corner');
[979] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-position', 'type' => 'text', 'defaultValue' => 'bottom-right');
[980] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-position-top', 'type' => 'text', 'defaultValue' => '40');
[981] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-position-right', 'type' => 'text', 'defaultValue' => '50');
[982] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-font-size', 'type' => 'number', 'defaultValue' => 16);
[983] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-border-size', 'type' => 'number', 'defaultValue' => 5);
[984] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-border-radius', 'type' => 'number', 'defaultValue' => 5);
[985] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-border-color', 'type' => 'text', 'defaultValue' => '#5263eb');
[986] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-bg-color', 'type' => 'text', 'defaultValue' => '#5263eb');
[987] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-text-color', 'type' => 'text', 'defaultValue' => '#ffffff');
[988] Fix | Delete
$options[] = array('name' => 'sgpb-floating-button-text', 'type' => 'text', 'defaultValue' => __('Click it!', 'popup-builder'));
[989] Fix | Delete
[990] Fix | Delete
$SGPB_OPTIONS = apply_filters('sgpbPopupDefaultOptions', $options);
[991] Fix | Delete
}
[992] Fix | Delete
[993] Fix | Delete
public static function getOldExtensionsInfo()
[994] Fix | Delete
{
[995] Fix | Delete
$data = array(
[996] Fix | Delete
array(
[997] Fix | Delete
'folderName' => 'popup-builder-ad-block',
[998] Fix | Delete
'label' => __('AdBlock', 'popup-builder')
[999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function