: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'center' => et_builder_i18n( 'Center' ),
'top left' => et_builder_i18n( 'Top Left' ),
'top' => et_builder_i18n( 'Top' ),
'top right' => et_builder_i18n( 'Top Right' ),
'right' => et_builder_i18n( 'Right' ),
'bottom right' => et_builder_i18n( 'Bottom Right' ),
'bottom' => et_builder_i18n( 'Bottom' ),
'bottom left' => et_builder_i18n( 'Bottom Left' ),
'left' => et_builder_i18n( 'Left' ),
'depends_show_if' => 'radial',
'background_color_gradient_type_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_start_position_%s' => array(
'label' => esc_html__( 'Column %s Start Position', 'et_builder' ),
'option_category' => 'configuration',
'range_settings' => array(
'default' => ET_Global_Settings::get_value( 'all_background_gradient_start_position' ),
'allowed_units' => array( '%', 'em', 'rem', 'px', 'cm', 'mm', 'in', 'pc', 'ex', 'vh', 'vw' ),
'depends_show_if' => 'on',
'use_background_color_gradient_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_end_position_%s' => array(
'label' => esc_html__( 'Column %s End Position', 'et_builder' ),
'option_category' => 'configuration',
'range_settings' => array(
'default' => ET_Global_Settings::get_value( 'all_background_gradient_end_position' ),
'allowed_units' => array( '%', 'em', 'rem', 'px', 'cm', 'mm', 'in', 'pc', 'ex', 'vh', 'vw' ),
'depends_show_if' => 'on',
'use_background_color_gradient_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_color_gradient_overlays_image_%s' => array(
'label' => esc_html__( 'Column %s Place Gradient Above Background Image', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'off' => et_builder_i18n( 'No' ),
'on' => et_builder_i18n( 'Yes' ),
'default' => intval( ET_Global_Settings::get_value( 'all_background_gradient_overlays_image' ) ) ),
'depends_show_if' => 'on',
'use_background_color_gradient_%s',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_video_mp4_%s' => array(
'label' => esc_html__( 'Column %s Background Video MP4', 'et_builder' ),
'option_category' => 'basic_option',
'upload_button_text' => esc_attr__( 'Upload a video', 'et_builder' ),
'choose_text' => esc_attr__( 'Choose a Background Video MP4 File', 'et_builder' ),
'update_text' => esc_attr__( 'Set As Background Video', 'et_builder' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_video_webm_%s' => array(
'label' => esc_html__( 'Column %s Background Video Webm', 'et_builder' ),
'option_category' => 'basic_option',
'upload_button_text' => esc_attr__( 'Upload a video', 'et_builder' ),
'choose_text' => esc_attr__( 'Choose a Background Video WEBM File', 'et_builder' ),
'update_text' => esc_attr__( 'Set As Background Video', 'et_builder' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_video_width_%s' => array(
'label' => esc_html__( 'Column %s Background Video Width', 'et_builder' ),
'option_category' => 'basic_option',
'sub_toggle' => 'column_%s',
'background_video_height_%s' => array(
'label' => esc_html__( 'Column %s Background Video Height', 'et_builder' ),
'option_category' => 'basic_option',
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'allow_player_pause_%s' => array(
'label' => esc_html__( 'Column %s Pause Video When Another Video Plays', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'off' => et_builder_i18n( 'No' ),
'on' => et_builder_i18n( 'Yes' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'background_video_pause_outside_viewport_%s' => array(
'label' => esc_html__( 'Column %s Pause Video While Not In View', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'off' => et_builder_i18n( 'No' ),
'on' => et_builder_i18n( 'Yes' ),
'toggle_slug' => 'background',
'sub_toggle' => 'column_%s',
'__video_background_%s' => array(
'computed_callback' => array( 'ET_Builder_Column', 'get_column_video_background' ),
'computed_depends_on' => array(
'background_video_mp4_%s',
'background_video_webm_%s',
'background_video_width_%s',
'background_video_height_%s',
'option_category' => 'basic_option',
'label' => esc_html__( 'Column %s Padding', 'et_builder' ),
'type' => 'custom_padding',
'mobile_options' => true,
'option_category' => 'layout',
'description' => esc_html__( 'Adjust padding to specific values, or leave blank to use the default padding.', 'et_builder' ),
'tab_slug' => 'advanced',
'toggle_slug' => 'margin_padding',
'sub_toggle' => 'column_%s',
'allowed_units' => array( '%', 'em', 'rem', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ex', 'vh', 'vw' ),
'label' => esc_html__( 'Column %s CSS ID', 'et_builder' ),
'option_category' => 'configuration',
'tab_slug' => 'custom_css',
'toggle_slug' => 'classes',
'sub_toggle' => 'column_%s',
'option_class' => 'et_pb_custom_css_regular',
'module_class_%s' => array(
'label' => esc_html__( 'Column %s CSS Class', 'et_builder' ),
'option_category' => 'configuration',
'tab_slug' => 'custom_css',
'toggle_slug' => 'classes',
'sub_toggle' => 'column_%s',
'option_class' => 'et_pb_custom_css_regular',
'custom_css_before_%s'=> array(
'label' => esc_html__( 'Column %s before', 'et_builder' ),
'no_space_before_selector' => true,
'tab_slug' => 'custom_css',
'toggle_slug' => 'custom_css',
'sub_toggle' => 'column_%s',
'option_category' => 'layout',
'custom_css_main_%s' => array(
'label' => esc_html__( 'Column %s Main Element', 'et_builder' ),
'tab_slug' => 'custom_css',
'toggle_slug' => 'custom_css',
'sub_toggle' => 'column_%s',
'option_category' => 'layout',
'custom_css_after_%s' => array(
'label' => esc_html__( 'Column %s After', 'et_builder' ),
'no_space_before_selector' => true,
'tab_slug' => 'custom_css',
'toggle_slug' => 'custom_css',
'sub_toggle' => 'column_%s',
'option_category' => 'layout',
'knownShortcodeWrappers' => et_fb_known_shortcode_wrappers(),
'acceptableCSSStringValues' => et_builder_get_acceptable_css_string_values( 'all' ),
'customModuleCredits' => ET_Builder_Element::get_custom_modules_credits( $post_type ),
'ignoreAdminBarClickIds' => apply_filters( 'et_fb_ignore_adminbar_click_ids', array() ),
$moduolesI10n = ET_Builder_Element::get_modules_i10n( $post_type );
'meta' => _x( 'by <strong>%1$s</strong>', 'Audio Module meta information', 'et_builder' ),
'label' => __( 'Background', 'et_builder' ),
'description' => esc_html__( 'Adjust the background style of this element by customizing the background color, gradient, image and video.', 'et_builder' ),
'backgroundColor' => esc_html__( 'Column %s Background', 'et_builder' ),
'thankYou' => esc_html__( 'Thanks for contacting us', 'et_builder' ),
'submit' => esc_attr__( 'Submit', 'et_builder' ),
'contactFormItem' => array(
'noOptions' => esc_html__( 'No options added.', 'et_builder' ),
'selectDefault' => esc_html__( '-- Please Select --', 'et_builder' ),
'countdownTimer' => array(
'dayFull' => esc_html__( 'Day(s)', 'et_builder' ),
'dayShort' => esc_html__( 'Day', 'et_builder' ),
'hourFull' => esc_html__( 'Hour(s)', 'et_builder' ),
'hourShort' => esc_html__( 'Hrs', 'et_builder' ),
'minuteFull' => esc_html__( 'Minute(s)', 'et_builder' ),
'minuteShort' => esc_html__( 'Min', 'et_builder' ),
'secondFull' => esc_html__( 'Second(s)', 'et_builder' ),
'secondShort' => esc_html__( 'Sec', 'et_builder' ),
'label' => et_builder_i18n( 'Custom CSS' ),
'firstName' => esc_attr__( 'First Name', 'et_builder' ),
'lastName' => esc_attr__( 'Last Name', 'et_builder' ),
'name' => esc_attr__( 'Name', 'et_builder' ),
'email' => esc_attr__( 'Email', 'et_builder' ),
'filterablePortfolio' => array(
'all' => esc_html__( 'All', 'et_builder' ),
'login' => esc_html__( 'Login', 'et_builder' ),
'logout' => esc_html__( 'Log out', 'et_builder' ),
'forgotPassword' => esc_html__( 'Forgot your password?', 'et_builder' ),
'username' => esc_html__( 'Username', 'et_builder' ),
'password' => esc_html__( 'Password', 'et_builder' ),
'note_autofill' => esc_attr__( 'Note: this field is used to disable browser autofill during the form editing in VB', 'et_builder' ),
'by' => esc_html__( 'by ', 'et_builder' ),
'submitButtonText' => esc_html__( 'Search', 'et_builder' ),
'searchfor' => esc_html__( 'Search for:', 'et_builder' ),
'fullwidthPostSlider' => array(
'by' => esc_html__( 'by ', 'et_builder' ),
'follow' => esc_html__( 'Follow', 'et_builder' ),
'newItemDefaultText' => esc_html__( 'New Item', 'et_builder' ),
// Prepare VB help videos list.
$help_videos = array_merge( array(
'et_pb_default' => array(
'name' => esc_html__( 'An introduction to the Divi Builder', 'et_builder' ),
'name' => esc_html__( 'Jump-starting your page with pre-made layouts', 'et_builder' ),
'name' => esc_html__( 'Saving and loading layouts from the Divi Library', 'et_builder' ),
'name' => esc_html__( 'Getting creative with Sections', 'et_builder' ),
'name' => esc_html__( 'Organizing your content with Rows', 'et_builder' ),
'name' => esc_html__( 'Using Design settings to customize your page', 'et_builder' ),
'name' => esc_html__( 'Using the builders Right Click controls', 'et_builder' ),
'name' => esc_html__( 'Importing and exporting Divi Builder layouts', 'et_builder' ),
'name' => esc_html__( 'Become a power use with keyboard shortcuts', 'et_builder' ),
'et_pb_add_section' => array(
'name' => esc_html__( 'An introduction to Sections', 'et_builder' ),
'name' => esc_html__( 'Design Settings and Advanced Section Settings', 'et_builder' ),
'name' => esc_html__( 'Saving and loading from the library', 'et_builder' ),
'et_pb_add_row' => array(
'name' => esc_html__( 'An introduction to Rows', 'et_builder' ),
'name' => esc_html__( 'Design Settings and Advanced Row Settings', 'et_builder' ),
'name' => esc_html__( 'Saving and loading from the library', 'et_builder' ),
'et_pb_add_module' => array(
'name' => esc_html__( 'An introduction to Modules', 'et_builder' ),
'name' => esc_html__( 'Design Settings and Advanced Module Settings', 'et_builder' ),
'name' => esc_html__( 'Saving and loading from the library', 'et_builder' ),
'et_pb_default_layouts' => array(
'name' => esc_html__( 'Using pre-made layouts', 'et_builder' ),
'name' => esc_html__( ' Saving and loading from the library', 'et_builder' ),
'et_pb_portability' => array(
'name' => esc_html__( 'Importing and exporting layouts', 'et_builder' ),
'et_pb_history' => array(
'name' => esc_html__( 'Managing your editing history', 'et_builder' ),
'et_pb_save_to_library' => array(
'name' => esc_html__( 'Saving and loading from the library', 'et_builder' ),
'name' => esc_html__( 'Global modules, rows and sections', 'et_builder' ),
'name' => esc_html__( 'Using Selective Sync', 'et_builder' ),
'name' => esc_html__( ' Importing and exporting items from the library', 'et_builder' ),
'et_pb_page_settings' => array(
'name' => esc_html__( 'An introduction to Page Settings', 'et_builder' ),
'et_pb_global_presets' => array(
'id' => esc_html__( '3VqtCV5Obx4', 'et_builder' ),
'name' => esc_html__( 'Using Divi Presets', 'et_builder' ),
), ET_Builder_Element::get_help_videos() );
$helpers['i18n'] = array(
'modules' => array_merge( $moduolesI10n, $aditionalI10n ),
'saveButtonText' => esc_attr__( 'Save', 'et_builder' ),
'saveDraftButtonText' => esc_attr__( 'Save Draft', 'et_builder' ),
'saveLayoutBlockButtonText' => esc_attr__( 'Save & Exit', 'et_builder' ),
'publishButtonText' => ( is_page() && ! current_user_can( 'publish_pages' ) ) || ( ! is_page() && ! current_user_can( 'publish_posts' ) ) ? esc_attr__( 'Submit', 'et_builder' ) : esc_attr__( 'Publish', 'et_builder' ),
'visual' => esc_html__( 'Visual', 'et_builder' ),
'text' => et_builder_i18n( 'Text' ),
'addNew' => esc_html__( 'Add New Item', 'et_builder' ),
'buttonText' => esc_html__( 'Upload', 'et_builder' ),
'addImage' => esc_html__( 'Add Image', 'et_builder' ),
'addVideo' => esc_html__( 'Add Video', 'et_builder' ),
'buttonText' => esc_html__( 'Add Media', 'et_builder' ),
'modalTitleText' => esc_html__( 'Insert Media', 'et_builder' ),
'top' => et_builder_i18n( 'Top' ),
'right' => et_builder_i18n( 'Right' ),
'bottom' => et_builder_i18n( 'Bottom' ),
'left' => et_builder_i18n( 'Left' ),
'clear' => esc_html__( 'Clear', 'et_builder' ),
'select' => esc_html__( 'Select', 'et_builder' ),
'noColor' => esc_html__( 'Transparent', 'et_builder' ),
'addColor' => esc_html__( 'Add Color', 'et_builder' ),
'saved' => esc_html__( 'Saved', 'et_builder' ),
'recent' => esc_html__( 'Recent', 'et_builder' ),
'uploadGallery' => array(
'uploadButtonText' => esc_html__( 'Update Gallery', 'et_builder'),
'addImages' => esc_html__( 'Add Gallery Images', 'et_builder'),
'updateMapButtonText' => esc_html__( 'Find', 'et_builder'),
'geoCodeError' => esc_html__( 'Geocode was not successful for the following reason', 'et_builder' ),
'geoCodeError_2' => esc_html__( 'Geocoder failed due to', 'et_builder' ),
'noResults' => esc_html__( 'No results found', 'et_builder' ),
'mapPinAddressInvalid' => esc_html__( 'Invalid Pin and address data. Please try again.', 'et_builder' ),
'general' => et_builder_i18n( 'Content' ),
'design' => et_builder_i18n( 'Design' ),
'advanced' => et_builder_i18n( 'Design' ),
'css' => et_builder_i18n( 'Advanced' ),
'desktop' => et_builder_i18n( 'Desktop' ),
'tablet' => et_builder_i18n( 'Tablet' ),
'phone' => et_builder_i18n( 'Phone' ),
'hover' => esc_html__( 'Hover', 'et_builder' ),
'additionalButton' => array(
'changeApiKey' => esc_html__( 'Change API Key', 'et_builder' ),
'generateImageUrlFromVideo' => esc_html__( 'Generate From Video', 'et_builder' ),
'conditionalLogic' => array(