add_section( 'bzoago_theme_options', [ 'title' => __( 'Header & Footer', 'bzoago' ), 'capability' => 'edit_theme_options', ] ); $wp_customize->add_setting( 'bzoago-elementor-header-footer', [ 'sanitize_callback' => false, 'transport' => 'refresh', ] ); } /** * Enqueue Customiser CSS * * @return string HTML to use in the customizer panel */ add_action( 'admin_enqueue_scripts', 'bzoago_customizer_print_styles' ); function hello_customizer_print_styles() { $min_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_style( 'bzoago-elementor-customizer', get_template_directory_uri() . '/customizer' . $min_suffix . '.css', [], bzoago_VERSION ); }