芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/cepali.edu.mx/wp-content/themes/hello-elementor/includes/customizer-functions.php
add_section( 'hello_theme_options', [ 'title' => __( 'Header & Footer', 'hello-elementor' ), 'capability' => 'edit_theme_options', ] ); $wp_customize->add_setting( 'hello-elementor-header-footer', [ 'sanitize_callback' => false, 'transport' => 'refresh', ] ); $wp_customize->add_control( new HelloElementor\Includes\Customizer\Elementor_Upsell( $wp_customize, 'hello-elementor-header-footer', [ 'section' => 'hello_theme_options', 'priority' => 20, ] ) ); } /** * Enqueue Customiser CSS * * @return string HTML to use in the customizer panel */ add_action( 'admin_enqueue_scripts', 'hello_customizer_print_styles' ); function hello_customizer_print_styles() { $min_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_style( 'hello-elementor-customizer', get_template_directory_uri() . '/customizer' . $min_suffix . '.css', [], HELLO_ELEMENTOR_VERSION ); }