: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-adblock/PopupBuilderAdBlock.php',
'url' => SG_POPUP_AD_BLOCK_URL
'label' => __('Advanced Closing', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-advanced-closing/PopupBuilderAdvancedClosing.php',
'key' => 'advancedClosing',
'url' => SG_POPUP_ADVANCED_CLOSING_URL
'label' => __('Advanced Targeting', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-advanced-targeting/PopupBuilderAdvancedTargeting.php',
'key' => 'sgpbAdvancedTargeting',
'url' => SG_POPUP_ADVANCED_TARGETING_URL
'label' => __('Age Restriction', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-age-verification/PopupBuilderAgeverification.php',
'key' => 'ageVerification',
'url' => SGPB_AGE_VERIFICATION_PLUGIN_URL
'label' => __('Analytics', 'popup-builder'),
'stable_version' => '4.0',
'pluginKey' => 'popupbuilder-analytics/PopupBuilderAnalytics.php',
'key' => 'sgpbAnalitics',
'url' => SG_POPUP_ANALYTICS_URL
'label' => __('AWeber', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-aweber/PopupBuilderAWeber.php',
'url' => SG_POPUP_AWEBER_URL
'label' => __('Contact Form', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-contact-form/PopupBuilderContactForm.php',
'url' => SG_POPUP_CONTACT_FORM_URL
'label' => __('Countdown', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-countdown/PopupBuilderCountdown.php',
'url' => SG_POPUP_COUNTDOWN_URL
'label' => __('EDD', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-edd/PopupBuilderEdd.php',
'url' => SGPB_EDD_PLUGIN_URL
'label' => __('Exit Intent','popup-builder'),
'stable_version' => '4.0',
'pluginKey' => 'popupbuilder-exit-intent/PopupBuilderExitIntent.php',
'key' => 'sgpbExitIntent',
'url' => SG_POPUP_EXIT_INTENT_URL
'label' => __('Gamification', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-gamification/PopupBuilderGamification.php',
'url' => SGPB_GAMIFICATION_PLUGIN_URL
'label' => __('Geo Targeting', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-geo-targeting/PopupBuilderGeoTargeting.php',
'key' => 'geo-targeting',
'url' => SG_POPUP_GEO_TARGETING_URL
'label' => __('Iframe', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-iframe/PopupBuilderIframe.php',
'url' => SG_POPUP_IFRAME_URL
'label' => __('Inactivity', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-inactivity/PopupBuilderInactivity.php',
'key' => 'sgpbInactivity',
'url' => SG_POPUP_INACTIVITY_URL
'label' => __('Log In', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-login/PopupBuilderLogin.php',
'url' => SG_POPUP_LOGIN_URL
'label' => __('Mailchimp', 'popup-builder'),
'stable_version' => '4.0',
'pluginKey' => 'popupbuilder-mailchimp/PopupBuilderMailchimp.php',
'key' => 'sgpbMailchimp',
'url' => SG_POPUP_MAILCHIMP_URL
'label' => __('PDF', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-pdf/PopupBuilderPdf.php',
'url' => SGPB_PDF_PLUGIN_URL
'label' => __('Push Notification', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-push-notification/PopupBuilderPushNotification.php',
'key' => 'pushNotification',
'url' => SG_POPUP_PUSH_NOTIFICATION_URL
'label' => __('Random', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-random/PopupBuilderRandom.php',
'url' => SG_POPUP_RANDOM_URL
'label' => __('Recent Sales', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-recent-sales/PopupBuilderRecentSales.php',
'key' => 'sgpbRecentSales',
'url' => SG_POPUP_RECENT_SALES_URL
'label' => __('Registration', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-registration/PopupBuilderRegistration.php',
'url' => SG_POPUP_REGISTRATION_URL
'label' => __('Restriction', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-restriction/PopupBuilderAgerestriction.php',
'key' => 'ageRestriction',
'url' => SG_POPUP_RESTRICTION_URL
'label' => __('Scheduling', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-scheduling/PopupBuilderScheduling.php',
'url' => SG_POPUP_SCHEDULING_URL
'label' => __('Scroll', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-scroll/PopupBuilderScroll.php',
'url' => SG_POPUP_SCROLL_URL
'label' => __('Social', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-social/PopupBuilderSocial.php',
'url' => SG_POPUP_SOCIAL_URL
'label' => __('Subscription Plus', 'popup-builder'),
'stable_version' => '4.0',
'pluginKey' => 'popupbuilder-subscription-plus/PopupBuilderSubscriptionPlus.php',
'key' => 'subscriptionPlus',
'url' => SG_POPUP_SUBSCRIPTION_PLUS_URL
'label' => __('Video', 'popup-builder'),
'stable_version' => '2.0',
'pluginKey' => 'popupbuilder-video/PopupBuilderVideo.php',
'url' => SG_POPUP_VIDEO_URL
'label' => __('WooCommerce', 'popup-builder'),
'stable_version' => '3.0',
'pluginKey' => 'popupbuilder-woocommerce/popupbuilderWoocommerce.php',
'url' => SG_POPUP_WOOCOMMERCE_URL
return apply_filters('sgpbExtensionsKeys', $keys);
private static function getBehaviorAfterSpecialEventsConfig()
'operator' => 'Behavior',
'select_event' => 'select',
'select_behavior' => 'select',
'open-popup' => 'select',
'close-popup' => 'number'
'select_event' => __('Select event', 'popup-builder'),
__('Special events', 'popup-builder') => array(
SGPB_CONTACT_FORM_7_BEHAVIOR_KEY => __('Contact Form 7 submission', 'popup-builder')
'select_behavior' => __('Select behavior', 'popup-builder'),
__('Behaviors', 'popup-builder') => array(
'redirect-url' => __('Redirect to URL', 'popup-builder'),
'open-popup' => __('Open another popup', 'popup-builder'),
'close-popup' => __('Close current popup', 'popup-builder')
'select_behavior' => null
'param' => 'select_event',
'class' => 'js-sg-select2 js-select-basic',
'data-select-class' => 'js-select-basic',
'data-select-type' => 'basic'
'label' => __('Event', 'popup-builder'),
'info' => __('Select the special event you want to catch.', 'popup-builder')
'class' => 'js-sg-select2 js-select-basic',
'data-select-class' => 'js-select-basic',
'data-select-type' => 'basic'
'label' => __('Behavior', 'popup-builder'),
'info' => __('Select what should happen after the special event.', 'popup-builder')
'class' => 'sg-full-width formItem__input formItem__input_select2_num_input',
'placeholder' => 'https://www.example.com',
'label' => __('URL', 'popup-builder'),
'info' => __('Enter the URL of the page should be redirected to.', 'popup-builder')
'class' => 'js-sg-select2 js-select-ajax',
'data-select-class' => 'js-select-ajax',
'data-select-type' => 'ajax',
'data-value-param' => SG_POPUP_POST_TYPE,
'label' => __('Select popup', 'popup-builder'),
'info' => __('Select the popup that should be opened.', 'popup-builder')
'class' => 'sg-full-width formItem__input formItem__input_select2_num_input',
'required' => 'required',
'label' => __('Delay', 'popup-builder'),
'info' => __('After how many seconds the popup should close.', 'popup-builder')
$config['columns'] = apply_filters('sgPopupSpecialEventsColumns', $columns);
$config['columnTypes'] = apply_filters('sgPopupSpecialEventsColumnTypes', $columnTypes);
$config['paramsData'] = apply_filters('sgPopupSpecialEventsParams', $params);
$config['initialData'] = apply_filters('sgPopupSpecialEventsInitialData', $initialData);
$config['attrs'] = apply_filters('sgPopupSpecialEventsAttrs', $attrs);
$config['operators'] = apply_filters('sgpbPopupSpecialEventsOperators', array());
$config['specialDefaultOperator'] = apply_filters('sgpbPopupSpecialEventsDefaultOperators', ' ');
public static function popupDefaultOptions()
global $SGPB_DATA_CONFIG_ARRAY;
$targetDefaultValue = array($SGPB_DATA_CONFIG_ARRAY['target']['initialData']);
$eventsDefaultData = array($SGPB_DATA_CONFIG_ARRAY['events']['initialData']);
$conditionsDefaultData = array($SGPB_DATA_CONFIG_ARRAY['conditions']['initialData']);
$specialEventsDefaultData = array($SGPB_DATA_CONFIG_ARRAY['behavior-after-special-events']['initialData']);
$options[] = array('name' => 'sgpb-target', 'type' => 'array', 'defaultValue' => $targetDefaultValue);
$options[] = array('name' => 'sgpb-events', 'type' => 'array', 'defaultValue' => $eventsDefaultData);
$options[] = array('name' => 'sgpb-conditions', 'type' => 'array', 'defaultValue' => $conditionsDefaultData, 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
$options[] = array('name' => 'sgpb-behavior-after-special-events', 'type' => 'array', 'defaultValue' => $specialEventsDefaultData);
$options[] = array('name' => 'sgpb-type', 'type' => 'text', 'defaultValue' => 'html');
$options[] = array('name' => 'sgpb-popup-counting-disabled', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-esc-key', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-enable-close-button', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-enable-content-scrolling', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-overlay-click', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-content-click', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-hide-subs-users', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-content-click-behavior', 'type' => 'text', 'defaultValue' => 'close');
$options[] = array('name' => 'sgpb-click-redirect-to-url', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-redirect-to-new-tab', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-copy-to-clipboard-text', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-copy-to-clipboard-close-popup', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-copy-to-clipboard-alert', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-copy-to-clipboard-message', 'type' => 'text', 'defaultValue' => __('Copied to Clipboard!', 'popup-builder'));
$options[] = array('name' => 'sgpb-disable-popup-closing', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
$options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => 'responsiveMode');
$options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => '100');
$options[] = array('name' => 'sgpb-width', 'type' => 'text', 'defaultValue' => '640px');
$options[] = array('name' => 'sgpb-height', 'type' => 'text', 'defaultValue' => '480px');
$options[] = array('name' => 'sgpb-max-width', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-max-height', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-min-width', 'type' => 'text', 'defaultValue' => '120px');
$options[] = array('name' => 'sgpb-min-height', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-popup-timer-status', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-popup-start-timer', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-popup-end-timer', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-popup-fixed', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-popup-fixed-position', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-popup-delay', 'type' => 'text', 'defaultValue' => '0');
$options[] = array('name' => 'sgpb-popup-order', 'type' => 'text', 'defaultValue' => '0');
$options[] = array('name' => 'sgpb-disable-page-scrolling', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-content-padding', 'type' => 'text', 'defaultValue' => 7);
$options[] = array('name' => 'sgpb-popup-z-index', 'type' => 'text', 'defaultValue' => 9999);
$options[] = array('name' => 'sgpb-content-custom-class', 'type' => 'text', 'defaultValue' => 'sg-popup-content');
$options[] = array('name' => 'sgpb-close-after-page-scroll', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
$options[] = array('name' => 'sgpb-auto-close', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
$options[] = array('name' => 'sgpb-auto-close-time', 'type' => 'number', 'defaultValue' => 0);
$options[] = array('name' => 'sgpb-reopen-after-form-submission', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-open-sound', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-sound-url', 'type' => 'text', 'defaultValue' => SG_POPUP_SOUND_URL.SGPB_POPUP_DEFAULT_SOUND);
$options[] = array('name' => 'sgpb-open-animation', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-close-animation', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-open-animation-speed', 'type' => 'text', 'defaultValue' => 1);
$options[] = array('name' => 'sgpb-close-animation-speed', 'type' => 'text', 'defaultValue' => 1);
$options[] = array('name' => 'sgpb-popup-themes', 'type' => 'text', 'defaultValue' => 'sgpb-theme-1');
$options[] = array('name' => 'sgpb-enable-popup-overlay', 'type' => 'checkbox', 'defaultValue' => 'on', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
$options[] = array('name' => 'sgpb-overlay-custom-class', 'type' => 'text', 'defaultValue' => 'sgpb-popup-overlay');
$options[] = array('name' => 'sgpb-overlay-color', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-background-color', 'type' => 'text', 'defaultValue' => '#FFFFFF');
$options[] = array('name' => 'sgpb-overlay-opacity', 'type' => 'text', 'defaultValue' => 0.8);
$options[] = array('name' => 'sgpb-content-opacity', 'type' => 'text', 'defaultValue' => 0.8);
$options[] = array('name' => 'sgpb-background-image', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-show-background', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-force-rtl', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-disable-border', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-background-image-mode', 'type' => 'text', 'defaultValue' => 'no-repeat');
$options[] = array('name' => 'sgpb-image-url', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-close-button-delay', 'type' => 'number', 'defaultValue' => 0);
$options[] = array('name' => 'sgpb-button-position-bottom', 'type' => 'number', 'defaultValue' => 9);
$options[] = array('name' => 'sgpb-button-position-right', 'type' => 'number', 'defaultValue' => 9);
$options[] = array('name' => 'sgpb-button-image', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-button-image-width', 'type' => 'text', 'defaultValue' => 21);
$options[] = array('name' => 'sgpb-button-image-height', 'type' => 'text', 'defaultValue' => 21);
$options[] = array('name' => 'sgpb-is-active', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-subs-form-bg-color', 'type' => 'text', 'defaultValue' => '#FFFFFF');
$options[] = array('name' => 'sgpb-subs-form-bg-opacity', 'type' => 'text', 'defaultValue' => 0.8);
$options[] = array('name' => 'sgpb-subs-form-padding', 'type' => 'number', 'defaultValue' => 2);
$options[] = array('name' => 'sgpb-subs-email-placeholder', 'type' => 'text', 'defaultValue' => __('Email *', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-first-name-status', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-subs-first-placeholder', 'type' => 'text', 'defaultValue' => __('First name', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-first-name-required', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-last-name-status', 'type' => 'checkbox', 'defaultValue' => 'on');
$options[] = array('name' => 'sgpb-subs-last-placeholder', 'type' => 'text', 'defaultValue' => __('Last name', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-last-name-required', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-validation-message', 'type' => 'text', 'defaultValue' => __('This field is required.', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-text-width', 'type' => 'text', 'defaultValue' => '300px');
$options[] = array('name' => 'sgpb-subs-text-height', 'type' => 'text', 'defaultValue' => '40px');
$options[] = array('name' => 'sgpb-subs-text-border-width', 'type' => 'text', 'defaultValue' => '2px');
$options[] = array('name' => 'sgpb-subs-text-border-color', 'type' => 'text', 'defaultValue' => '#e8e8e8');
$options[] = array('name' => 'sgpb-subs-text-bg-color', 'type' => 'text', 'defaultValue' => '#f1f1f1');
$options[] = array('name' => 'sgpb-subs-text-color', 'type' => 'text', 'defaultValue' => '#000000');
$options[] = array('name' => 'sgpb-subs-text-placeholder-color', 'type' => 'text', 'defaultValue' => '#757575');
$options[] = array('name' => 'sgpb-subs-btn-width', 'type' => 'text', 'defaultValue' => '300px');
$options[] = array('name' => 'sgpb-subs-btn-height', 'type' => 'text', 'defaultValue' => '40px');
$options[] = array('name' => 'sgpb-subs-btn-border-radius', 'type' => 'text', 'defaultValue' => '4px');
$options[] = array('name' => 'sgpb-subs-btn-border-width', 'type' => 'text', 'defaultValue' => '0px');
$options[] = array('name' => 'sgpb-subs-btn-border-color', 'type' => 'text', 'defaultValue' => '#007fe1');
$options[] = array('name' => 'sgpb-subs-btn-title', 'type' => 'text', 'defaultValue' => __('Subscribe', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-btn-progress-title', 'type' => 'text', 'defaultValue' => __('Please wait...', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-btn-bg-color', 'type' => 'text', 'defaultValue' => '#007fe1');
$options[] = array('name' => 'sgpb-subs-btn-text-color', 'type' => 'text', 'defaultValue' => '#FFFFFF');
$options[] = array('name' => 'sgpb-subs-error-message', 'type' => 'text', 'defaultValue' => SGPB_SUBSCRIPTION_ERROR_MESSAGE);
$options[] = array('name' => 'sgpb-subs-invalid-message', 'type' => 'text', 'defaultValue' => __('Please enter a valid email address', 'popup-builder').'.');
$options[] = array('name' => 'sgpb-subs-success-behavior', 'type' => 'text', 'defaultValue' => 'showMessage');
$options[] = array('name' => 'sgpb-subs-success-message', 'type' => 'text', 'defaultValue' => __('You have successfully subscribed to the newsletter', 'popup-builder'));
$options[] = array('name' => 'sgpb-subs-success-redirect-URL', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-success-redirect-new-tab', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-gdpr-status', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-show-form-to-top', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-subs-gdpr-label', 'type' => 'text', 'defaultValue' => __('Accept Terms', 'popup-builder'));
/* translators: Website Blog info */
$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()));
$options[] = array('name' => 'sgpb-subs-fields', 'type' => 'sgpb', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-fblike-like-url', 'type' => 'text', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-fblike-layout', 'type' => 'text', 'defaultValue' => 'standard');
$options[] = array('name' => 'sgpb-fblike-dont-show-share-button', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-border-color', 'type' => 'text', 'defaultValue' => '#000000');
$options[] = array('name' => 'sgpb-border-radius', 'type' => 'text', 'defaultValue' => 0);
$options[] = array('name' => 'sgpb-show-popup-same-user', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-show-popup-same-user-count', 'type' => 'number', 'defaultValue' => 1);
$options[] = array('name' => 'sgpb-show-popup-same-user-expiry', 'type' => 'number', 'defaultValue' => 1);
$options[] = array('name' => 'sgpb-show-popup-same-user-page-level', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-enable-floating-button', 'type' => 'checkbox', 'defaultValue' => '');
$options[] = array('name' => 'sgpb-floating-button-style', 'type' => 'text', 'defaultValue' => 'corner');
$options[] = array('name' => 'sgpb-floating-button-position', 'type' => 'text', 'defaultValue' => 'bottom-right');
$options[] = array('name' => 'sgpb-floating-button-position-top', 'type' => 'text', 'defaultValue' => '40');
$options[] = array('name' => 'sgpb-floating-button-position-right', 'type' => 'text', 'defaultValue' => '50');
$options[] = array('name' => 'sgpb-floating-button-font-size', 'type' => 'number', 'defaultValue' => 16);
$options[] = array('name' => 'sgpb-floating-button-border-size', 'type' => 'number', 'defaultValue' => 5);
$options[] = array('name' => 'sgpb-floating-button-border-radius', 'type' => 'number', 'defaultValue' => 5);
$options[] = array('name' => 'sgpb-floating-button-border-color', 'type' => 'text', 'defaultValue' => '#5263eb');
$options[] = array('name' => 'sgpb-floating-button-bg-color', 'type' => 'text', 'defaultValue' => '#5263eb');
$options[] = array('name' => 'sgpb-floating-button-text-color', 'type' => 'text', 'defaultValue' => '#ffffff');
$options[] = array('name' => 'sgpb-floating-button-text', 'type' => 'text', 'defaultValue' => __('Click it!', 'popup-builder'));
$SGPB_OPTIONS = apply_filters('sgpbPopupDefaultOptions', $options);
public static function getOldExtensionsInfo()
'folderName' => 'popup-builder-ad-block',
'label' => __('AdBlock', 'popup-builder')