registered; $wp_scripts = new WP_Scripts; $wp_scripts->registered = $registered; add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 ); add_action( 'customize_controls_print_footer_scripts', '_wp_footer_scripts' ); add_action( 'customize_controls_print_styles', 'print_admin_styles', 20 ); do_action( 'customize_controls_init' ); wp_enqueue_script( 'customize-controls' ); wp_enqueue_style( 'customize-controls' ); do_action( 'customize_controls_enqueue_scripts' ); $theme = wp_get_theme(); $screenshot = $theme->get_screenshot(); // Let's roll. @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); wp_user_settings(); _wp_admin_html_begin(); $admin_title = sprintf( __( '%1$s — WordPress' ), strip_tags( sprintf( __( 'Customize %s' ), $theme['Name'] ) ) ); ?><?php echo $admin_title; ?>
 
description ): ?>
description; ?>
esc_url( home_url( '/', $scheme ) ), 'controls' => array(), 'prefix' => WP_Customize_Setting::name_prefix, ); foreach ( $this->settings as $id => $setting ) { $settings['controls'][ $id ] = array( 'value' => $setting->value(), 'control' => $setting->control, 'params' => $setting->control_params, ); if ( $setting->visibility ) { if ( is_string( $setting->visibility ) ) { $settings['controls'][ $id ]['visibility'] = array( 'id' => $setting->visibility, 'value' => true, ); } else { $settings['controls'][ $id ]['visibility'] = array( 'id' => $setting->visibility[0], 'value' => $setting->visibility[1], ); } } } ?>