: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Get default option by passing option id
* @return array|mixed|false
if ( !function_exists( 'herald_get_default_option' ) ):
function herald_get_default_option( $option ) {
if ( empty( $option ) ) {
'logo' => array( 'url' => esc_url( get_parent_theme_file_uri( '/assets/img/herald_logo.png' ) ) ),
'logo_retina' => array( 'url' => esc_url( get_parent_theme_file_uri( '/assets/img/herald_logo@2x.png' ) ) ),
'logo_mini' => array( 'url' => esc_url( get_parent_theme_file_uri( '/assets/img/herald_logo_mini.png' ) ) ),
'logo_mini_retina' => array( 'url' => esc_url( get_parent_theme_file_uri( '/assets/img/herald_logo_mini@2x.png' ) ) ),
'default_fimg' => array( 'url' => esc_url( get_parent_theme_file_uri( '/assets/img/herald_default.jpg' ) ) ),
'header_sections' => array(
'color_header_top_bg' => '#111111',
'color_header_top_txt' => '#aaaaaa',
'color_header_top_acc' => '#ffffff',
'header_top_left' => array(
'woocommerce-cart-icon' => 0,
'header_top_center' => array(
'woocommerce-cart-icon' => 0,
'header_top_right' => array(
'woocommerce-cart-icon' => 0,
'color_header_middle_bg' => '#0277bd',
'background_header_middle' => array(),
'color_header_middle_txt' => '#ffffff',
'color_header_middle_acc' => '#111111',
'header_middle_left' => array(
'woocommerce-cart-icon' => 0,
'header_middle_left_align' => 'hor',
'header_middle_center' => array(
'woocommerce-cart-icon' => 0,
'header_middle_center_align' => 'hor',
'header_middle_right' => array(
'woocommerce-cart-icon' => 0,
'header_middle_right_align' => 'hor',
'color_header_bottom_bg' => '#0288d1',
'color_header_bottom_txt' => '#ffffff',
'color_header_bottom_acc' => '#424242',
'header_bottom_left' => array(
'woocommerce-cart-icon' => 0,
'header_bottom_center' => array(
'woocommerce-cart-icon' => 0,
'header_bottom_right' => array(
'woocommerce-cart-icon' => 0,
'color_header_trending_bg' => '#eeeeee',
'color_header_trending_txt' => '#666666',
'color_header_trending_acc' => '#111111',
'trending_number' => '6',
'trending_slider' => false,
'trending_slider_post' => 10,
'trending_order' => 'date',
'header_sticky_offset' => 600,
'header_sticky_up' => false,
'color_header_sticky_bg' => '#0288d1',
'color_header_sticky_txt' => '#ffffff',
'color_header_sticky_acc' => '#444444',
'header_sticky_left' => array(
'woocommerce-cart-icon' => 0,
'header_sticky_center' => array(
'woocommerce-cart-icon' => 0,
'header_sticky_right' => array(
'woocommerce-cart-icon' => 0,
'header_responsive_breakpoint' => 1249,
'header_responsive_elements' => array(
'secondary-menu-1' => false,
'secondary-menu-2' => false,
'secondary-menu-3' => false,
'header_responsive_actions' => array(
'woocommerce-cart-icon' => false,
'header_responsive_group' => false,
'header_ad_responsive' => false,
'mega_menu_layout' => 'i',
'mega_menu_sub_cat' => true,
'content_layout' => 'boxed',
'body_background' => array(
'background-color' => '#eeeeee',
'color_content_bg' => '#ffffff',
'color_content_title' => '#333333',
'color_content_txt' => '#444444',
'color_content_acc' => '#0288d1',
'color_content_meta' => '#999999',
'color_footer_bg' => '#222222',
'color_footer_txt' => '#dddddd',
'color_footer_acc' => '#0288d1',
'color_footer_meta' => '#aaaaaa',
'footer_widgets' => true,
'footer_layout' => '4_3',
'footer_copyright' => wp_kses_post( sprintf( __( 'Copyright © {current_year}. Created by %s. Powered by %s.', 'herald' ), '<a href="https://mekshq.com" target="_blank">Meks</a>', '<a href="https://www.wordpress.org" target="_blank">WordPress</a>' ) ),
'footer_center' => array(
'lay_a_content' => 'excerpt',
'lay_a_excerpt_limit' => '290',
'img_size_lay_a_ratio' => '16_9',
'img_size_lay_a_custom' => '',
'lay_a1_excerpt' => false,
'lay_a1_excerpt_limit' => '290',
'img_size_lay_a1_ratio' => '16_9',
'img_size_lay_a1_custom' => '',
'lay_a2_excerpt' => true,
'lay_a2_excerpt_limit' => '250',
'img_size_lay_a2_ratio' => '16_9',
'img_size_lay_a2_custom' => '',
'lay_a3_excerpt' => true,
'lay_a3_excerpt_limit' => '250',
'img_size_lay_a3_ratio' => '16_9',
'img_size_lay_a3_custom' => '',
'lay_b_excerpt_limit' => '170',
'img_size_lay_b_ratio' => '16_9',
'img_size_lay_b_custom' => '',
'lay_b1_excerpt' => true,
'lay_b1_excerpt_limit' => '160',
'img_size_lay_b1_ratio' => '3_2',
'img_size_lay_b1_custom' => '',
'lay_c_excerpt_limit' => '150',
'img_size_lay_c_ratio' => '16_9',
'img_size_lay_c_custom' => '',
'lay_c1_excerpt' => false,
'lay_c1_excerpt_limit' => '150',
'img_size_lay_c1_ratio' => '3_2',
'img_size_lay_c1_custom' => '',
'img_size_lay_d_ratio' => '16_9',
'img_size_lay_d_custom' => '',
'img_size_lay_d1_ratio' => '3_2',
'img_size_lay_d1_custom' => '',
'lay_e_excerpt' => false,
'lay_e_excerpt_limit' => '150',
'lay_f_excerpt' => false,
'lay_f_excerpt_limit' => '80',
'img_size_lay_f_ratio' => '16_9',
'img_size_lay_f_custom' => '',
'lay_f1_excerpt' => false,
'lay_f1_excerpt_limit' => '80',
'img_size_lay_f1_ratio' => '3_2',
'img_size_lay_f1_custom' => '',