: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'advancedFields' => array(),
'customCssFields' => array(),
'fieldsDefaults' => array(),
'optionsToggles' => array(),
'customLayoutsTabs' => array(),
'pageCreationOptions' => et_builder_page_creation_options(),
'locations' => esc_html__( 'Locations', 'et_builder' ),
'elements' => et_builder_i18n( 'Elements' ),
'this_page' => esc_html__( 'This Page', 'et_builder' ),
'this_section' => esc_html__( 'This Section', 'et_builder' ),
'this_row' => esc_html__( 'This Row', 'et_builder' ),
'this_column' => esc_html__( 'This Column', 'et_builder' ),
'this_module' => esc_html__( 'This %s\'s Settings', 'et_builder' ),
'all_modules' => esc_html__( 'All Modules', 'et_builder' ),
'all_rows' => esc_html__( 'All Rows', 'et_builder' ),
'all_same_type' => esc_html__( 'All %s Settings', 'et_builder' ),
'this_page' => esc_html__( 'This Page', 'et_builder' ),
'this_section' => esc_html__( 'This Section', 'et_builder' ),
'this_row' => esc_html__( 'This Row', 'et_builder' ),
'this_column' => esc_html__( 'This Column', 'et_builder' ),
'on' => esc_html__( 'Replace all found values within every option type, not limited to %s', 'et_builder' ),
'dividers' => ET_Builder_Module_Fields_Factory::get( 'Divider' )->dividers,
'moduleParentShortcodes' => ET_Builder_Element::get_parent_slugs_regex( $post_type ),
'moduleChildShortcodes' => ET_Builder_Element::get_child_slugs_regex( $post_type ),
'moduleChildSlugs' => ET_Builder_Element::get_child_slugs( $post_type ),
'moduleRawContentShortcodes' => ET_Builder_Element::get_raw_content_slugs( $post_type ),
'modules' => $fb_modules_array,
'modulesCount' => count( $fb_modules_array ),
'modulesWithChildren' => ET_Builder_Element::get_slugs_with_children( $post_type ),
'modulesShowOnCancelDropClassname' => apply_filters( 'et_fb_modules_show_on_cancel_drop_classname', array( 'et_pb_gallery', 'et_pb_filterable_portfolio') ),
'modulesFeaturedImageBackground' => ET_Builder_Element::get_featured_image_background_modules( $post_type ),
'modulesRowOverlappingAddNew' => $modules_row_overlapping_add_new,
'structureModules' => array(
'slug' => 'et_pb_section',
'name' => esc_html__( 'Section', 'et_builder' ),
'namePlural' => esc_html__( 'Sections', 'et_builder' ),
'name' => esc_html__( 'Row', 'et_builder' ),
'namePlural' => esc_html__( 'Rows', 'et_builder' ),
'slug' => 'et_pb_row_inner',
'name' => esc_html__( 'Row', 'et_builder' ),
'namePlural' => esc_html__( 'Rows', 'et_builder' ),
'slug' => 'et_pb_column',
'name' => esc_html__( 'Column', 'et_builder' ),
'namePlural' => esc_html__( 'Columns', 'et_builder' ),
'slug' => 'et_pb_column_inner',
'name' => esc_html__( 'Column', 'et_builder' ),
'namePlural' => esc_html__( 'Columns', 'et_builder' ),
'et_builder_css_media_queries' => ET_Builder_Element::get_media_quries( 'for_js' ),
'builderOptions' => et_builder_options(),
'builderVersion' => ET_BUILDER_PRODUCT_VERSION,
'noBuilderSupportNotification' => et_builder_get_no_builder_notification_modal(),
'exitNotification' => et_builder_get_exit_notification_modal(),
'browserAutosaveNotification' => et_builder_get_browser_autosave_notification_modal(),
'serverAutosaveNotification' => et_builder_get_server_autosave_notification_modal(),
'coreModalTemplate' => et_builder_get_core_modal_template(),
'coreModalButtonsTemplate' => et_builder_get_core_modal_buttons_template(),
'unsavedNotification' => et_builder_get_unsaved_notification_texts(),
'globalPresetsSaveFailure' => et_builder_get_global_presets_save_failure_texts(),
'globalPresetsSaveForbidden' => et_builder_get_global_presets_save_forbidden_texts(),
'globalPresetsLoadFailure' => et_builder_get_global_presets_load_failure_texts(),
'backupLabel' => __( 'Backup of %s', 'et_builder' ),
'googleAPIKey' => et_pb_is_allowed( 'theme_options' ) ? get_option( 'et_google_api_settings' ) : '',
'useGoogleFonts' => $use_google_fonts,
'googleFontsList' => array_keys( $google_fonts ),
'googleFonts' => $google_fonts,
'websafeFonts' => $websafe_fonts,
'customFonts' => $custom_user_fonts,
'removedFonts' => et_builder_old_fonts_mapping(),
'allFontWeights' => et_builder_get_font_weight_list(),
'allFontFormats' => et_pb_get_supported_font_formats(),
'fontIcons' => et_pb_get_font_icon_symbols(),
'fontIconsDown' => et_pb_get_font_down_icon_symbols(),
'widgetAreas' => et_builder_get_widget_areas_list(),
'et_builder_fonts_data' => et_builder_get_fonts(),
'roleSettings' => et_pb_get_role_settings(),
'optionsCategoriesPermissions' => array_keys( ET_Builder_Element::get_options_categories() ),
'hide_on_mobile_class' => 'et-hide-mobile',
'columnLayouts' => et_builder_get_columns(),
'searchFilterItems' => array(
'styles_modified' => esc_html__( 'Modified Styles', 'et_builder' ),
'styles_responsive' => esc_html__( 'Responsive Styles/Content', 'et_builder' ),
'styles_hover' => esc_html__( 'Hover Styles/Content', 'et_builder' ),
'active_content' => esc_html__( 'Active Content', 'et_builder' ),
'et_pb_accordion_item' => array(
'title' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'title' => $modules_defaults['title'],
'artist_name' => _x( 'Artist Name', 'Modules dummy content', 'et_builder' ),
'et_pb_counter' => array(
'content' => $modules_defaults['title'],
'percent' => $modules_defaults['number'],
'title' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'image' => $modules_defaults['image']['landscape'],
'button_text' => $modules_defaults['button'],
'title' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'button_text' => $modules_defaults['button'],
'et_pb_circle_counter' => array(
'title' => $modules_defaults['title'],
'number' => $modules_defaults['number'],
'title' => $modules_defaults['title'],
'description' => $modules_defaults['body'],
'src' => $modules_defaults['image']['landscape'],
'et_pb_fullwidth_image' => array(
'src' => $modules_defaults['image']['landscape'],
'title' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'et_pb_number_counter' => array(
'title' => $modules_defaults['title'],
'number' => $modules_defaults['number'],
'et_pb_team_member' => array(
'name' => _x( 'Name Goes Here', 'Modules dummy content', 'et_builder' ),
'content' => $modules_defaults['body'],
'image_url' => $modules_defaults['image']['portrait'],
'position' => _x( 'Position', 'Modules dummy content', 'et_builder' ),
'et_pb_pricing_table' => array(
'title' => _x( 'Table Title', 'Modules dummy content', 'et_builder' ),
'subtitle' => $modules_defaults['subtitle'],
'currency' => _x( '$', 'Modules dummy content', 'et_builder' ),
"+ This feature is included\n+ This feature is included\n+ This feature is included\n+ This feature is included\n- This feature is not included\n- This feature is not included",
'sum' => $modules_defaults['number'],
'heading' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'button_text' => $modules_defaults['button'],
'title' => _x( 'Tab Title', 'Modules dummy content', 'et_builder' ),
'content' => $modules_defaults['body'],
'et_pb_testimonial' => array(
'author' => _x( 'Name Goes Here', 'Modules dummy content', 'et_builder' ),
'portrait_url' => $modules_defaults['image']['portrait'],
'content' => $modules_defaults['body'],
'content' => $modules_defaults['body'],
'title' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'et_pb_countdown_timer' => array(
'title' => $modules_defaults['title'],
'src' => $modules_defaults['video'],
'et_pb_video_slider_item' => array(
'src' => $modules_defaults['video'],
'__is_oembed' => ET_Builder_Module_Video_Slider_Item::is_oembed( array( 'src' => $modules_defaults['video'] ) ),
'__get_oembed' => ET_Builder_Module_Video_Slider_Item::get_oembed( array( 'src' => $modules_defaults['video'] ) ),
'__oembed_thumbnail' => ET_Builder_Module_Video_Slider_Item::get_oembed_thumbnail( array( 'src' => $modules_defaults['video'] ) ),
'et_pb_fullwidth_header' => array(
'title' => $modules_defaults['title'],
'content' => $modules_defaults['body'],
'button_one_text' => $modules_defaults['button'],
'et_pb_social_media_follow_network' => array(
'social_network' => 'facebook',
'background_color' => '#3b5998',
'contactFormInputs' => array(),
'backgroundOptions' => array(
'type' => ET_Global_Settings::get_value( 'all_background_gradient_type' ),
'direction' => ET_Global_Settings::get_value( 'all_background_gradient_direction' ),
'radialDirection' => ET_Global_Settings::get_value( 'all_background_gradient_direction_radial' ),
'colorStart' => ET_Global_Settings::get_value( 'all_background_gradient_start' ),
'colorEnd' => ET_Global_Settings::get_value( 'all_background_gradient_end' ),
'startPosition' => ET_Global_Settings::get_value( 'all_background_gradient_start_position' ),
'endPosition' => ET_Global_Settings::get_value( 'all_background_gradient_end_position' ),
'overlaysImage' => ET_Global_Settings::get_value( 'all_background_gradient_overlays_image' ),
'filterOptions' => array(
'hue_rotate' => ET_Global_Settings::get_value( 'all_filter_hue_rotate' ),
'saturate' => ET_Global_Settings::get_value( 'all_filter_saturate' ),
'brightness' => ET_Global_Settings::get_value( 'all_filter_brightness' ),
'contrast' => ET_Global_Settings::get_value( 'all_filter_contrast' ),
'invert' => ET_Global_Settings::get_value( 'all_filter_invert' ),
'sepia' => ET_Global_Settings::get_value( 'all_filter_sepia' ),
'opacity' => ET_Global_Settings::get_value( 'all_filter_opacity' ),
'blur' => ET_Global_Settings::get_value( 'all_filter_blur' ),
'mix_blend_mode' => ET_Global_Settings::get_value( 'all_mix_blend_mode' ),
'saveModuleLibraryCategories' => et_fb_prepare_library_cats(),
'emailNameFieldOnlyProviders' => array_keys( ET_Builder_Module_Signup::providers()->names_by_slug( 'all', 'name_field_only' ) ),
'emailPredefinedCustomFields' => ET_Core_API_Email_Providers::instance()->custom_fields_data(),
'emailCustomFieldProviders' => array_keys( ET_Builder_Module_Signup::providers()->names_by_slug( 'all', 'custom_fields' ) ),
'columnSettingFields' => array(
'label' => esc_html__( 'Column %s Background Image', 'et_builder' ),
'option_category' => 'basic_option',
'upload_button_text' => et_builder_i18n( 'Upload an image' ),
'choose_text' => esc_attr__( 'Choose a Background Image', 'et_builder' ),
'update_text' => esc_attr__( 'Set As Background', 'et_builder' ),
'description' => esc_html__( 'If defined, this image will be used as the background for this module. To remove a background image, simply delete the URL from the settings field.', 'et_builder' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_%s' => array(
'label' => esc_html__( 'Column %s Background Color', 'et_builder' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'option_category' => 'configuration',
'label' => esc_html__( 'Column %s Parallax Effect', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
'background_position_%s',
'description' => esc_html__( 'Here you can choose whether or not use parallax effect for the featured image', 'et_builder' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'parallax_method_%s' => array(
'label' => esc_html__( 'Column %s Parallax Method', 'et_builder' ),
'option_category' => 'configuration',
'off' => esc_html__( 'CSS', 'et_builder' ),
'on' => esc_html__( 'True Parallax', 'et_builder' ),
'depends_show_if' => 'on',
'description' => esc_html__( 'Here you can choose which parallax method to use for the featured image', 'et_builder' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_size_%s' => array(
'label' => esc_html__( 'Column %s Background Image Size', 'et_builder' ),
'option_category' => 'layout',
'cover' => esc_html__( 'Cover', 'et_builder' ),
'contain' => esc_html__( 'Fit', 'et_builder' ),
'initial' => esc_html__( 'Actual Size', 'et_builder' ),
'depends_show_if' => 'off',
'toggle_slug' => 'background',
'background_position_%s' => array(
'label' => esc_html__( 'Column %s Background Image Position', 'et_builder' ),
'option_category' => 'layout',
'top_left' => et_builder_i18n( 'Top Left' ),
'top_center' => et_builder_i18n( 'Top Center' ),
'top_right' => et_builder_i18n( 'Top Right' ),
'center_left' => et_builder_i18n( 'Center Left' ),
'center' => et_builder_i18n( 'Center' ),
'center_right' => et_builder_i18n( 'Center Right' ),
'bottom_left' => et_builder_i18n( 'Bottom Left' ),
'bottom_center' => et_builder_i18n( 'Bottom Center' ),
'bottom_right' => et_builder_i18n( 'Bottom Right' ),
'depends_show_if' => 'off',
'toggle_slug' => 'background',
'background_repeat_%s' => array(
'label' => esc_html__( 'Column %s Background Image Repeat', 'et_builder' ),
'option_category' => 'layout',
'repeat' => esc_html__( 'Repeat', 'et_builder' ),
'repeat-x' => esc_html__( 'Repeat X (horizontal)', 'et_builder' ),
'repeat-y' => esc_html__( 'Repeat Y (vertical)', 'et_builder' ),
'space' => et_builder_i18n( 'Space' ),
'round' => esc_html__( 'Round', 'et_builder' ),
'no-repeat' => esc_html__( 'No Repeat', 'et_builder' ),
'depends_show_if' => 'off',
'toggle_slug' => 'background',
'background_blend_%s' => array(
'label' => esc_html__( 'Column %s Background Image Blend', 'et_builder' ),
'option_category' => 'layout',
'normal' => et_builder_i18n( 'Normal' ),
'multiply' => et_builder_i18n( 'Multiply' ),
'screen' => et_builder_i18n( 'Screen' ),
'overlay' => et_builder_i18n( 'Overlay' ),
'darken' => et_builder_i18n( 'Darken' ),
'lighten' => et_builder_i18n( 'Lighten' ),
'color-dodge' => et_builder_i18n( 'Color Dodge' ),
'color-burn' => et_builder_i18n( 'Color Burn' ),
'hard-light' => et_builder_i18n( 'Hard Light' ),
'soft-light' => et_builder_i18n( 'Soft Light' ),
'difference' => et_builder_i18n( 'Difference' ),
'exclusion' => et_builder_i18n( 'Exclusion' ),
'hue' => et_builder_i18n( 'Hue' ),
'saturation' => et_builder_i18n( 'Saturation' ),
'color' => et_builder_i18n( 'Color' ),
'luminosity' => et_builder_i18n( 'Luminosity' ),
'depends_show_if' => 'off',
'toggle_slug' => 'background',
'use_background_color_gradient_%s' => array(
'label' => esc_html__( 'Column %s Use Background Color Gradient', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'off' => et_builder_i18n( 'No' ),
'on' => et_builder_i18n( 'Yes' ),
'background_color_gradient_start_%s',
'background_color_gradient_end_%s',
'background_color_gradient_start_position_%s',
'background_color_gradient_end_position_%s',
'background_color_gradient_type_%s',
'background_color_gradient_overlays_image_%s'
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_start_%s' => array(
'label' => esc_html__( 'Column %s Gradient Start', 'et_builder' ),
'option_category' => 'configuration',
'depends_show_if' => 'on',
'default' => ET_Global_Settings::get_value( 'all_background_gradient_start' ),
'use_background_color_gradient_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_end_%s' => array(
'label' => esc_html__( 'Column %s Gradient End', 'et_builder' ),
'option_category' => 'configuration',
'depends_show_if' => 'on',
'default' => ET_Global_Settings::get_value( 'all_background_gradient_end' ),
'use_background_color_gradient_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_type_%s' => array(
'label' => esc_html__( 'Column %s Gradient Type', 'et_builder' ),
'option_category' => 'configuration',
'linear' => et_builder_i18n( 'Linear' ),
'radial' => et_builder_i18n( 'Radial' ),
'background_color_gradient_direction_%s',
'background_color_gradient_direction_radial_%s',
'default' => ET_Global_Settings::get_value( 'all_background_gradient_type' ),
'depends_show_if' => 'on',
'use_background_color_gradient_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_direction_%s' => array(
'label' => esc_html__( 'Column %s Gradient Direction', 'et_builder' ),
'option_category' => 'configuration',
'range_settings' => array(
'default' => ET_Global_Settings::get_value( 'all_background_gradient_direction' ),
'depends_show_if' => 'linear',
'background_color_gradient_type_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_direction_radial_%s' => array(
'label' => esc_html__( 'Column %s Radial Direction', 'et_builder' ),
'option_category' => 'configuration',