'header-seven', 'business_capital_header_top_color_scheme' => 'dark-top-header', ); $updated_defaults = wp_parse_args( $defaults, $default_options ); return $updated_defaults; } /** * Add header options section and its controls */ public function register_header_options( $wp_customize ) { Business_Capital_Customizer_Utilities::register_option( array( 'custom_control' => 'Business_Capital_Image_Radio_Button_Custom_Control', 'settings' => 'business_capital_header_style', 'sanitize_callback' => 'business_capital_radio_sanitization', 'label' => esc_html__( 'Header Style', 'business-capital-construction' ), 'section' => 'business_capital_header_options', 'choices' => array( 'header-one' => array( 'image' => trailingslashit( get_stylesheet_directory_uri() ) . 'images/header-1.png', 'name' => esc_html__( 'Header Style Default', 'business-capital-construction' ), ), 'header-seven' => array( 'image' => trailingslashit( get_stylesheet_directory_uri() ) . 'images/header-7.png', 'name' => esc_html__( 'Header Style Construction', 'business-capital-construction' ), ) ), ) ); Business_Capital_Customizer_Utilities::register_option( array( 'type' => 'radio', 'settings' => 'business_capital_header_top_color_scheme', 'sanitize_callback' => 'business_capital_sanitize_select', 'label' => esc_html__( 'Header Top Color', 'business-capital-construction' ), 'section' => 'business_capital_header_options', 'choices' => array( 'construction-top-header' => esc_html__( 'Dark', 'business-capital-construction' ), 'light-top-header' => esc_html__( 'Light', 'business-capital-construction' ), ), ) ); } } /** * Initialize class */ $business_capital_construction_header_options = new business_capital_construction_Header_Options();