wp_user_settings example

/** * Fires when enqueuing Customizer control scripts. * * @since 3.4.0 */
do_action( 'customize_controls_enqueue_scripts' );

// Let's roll. header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );

wp_user_settings();
_wp_admin_html_begin();

$body_class = 'wp-core-ui wp-customizer js';

if ( wp_is_mobile() ) :
    $body_class .= ' mobile';
    add_filter( 'admin_viewport_meta', '_customizer_mobile_viewport_meta' );
endif;

if ( $wp_customize->is_ios() ) {
    $body_class .= ' ios';
}
/** * Filters the title tag content for an admin page. * * @since 3.1.0 * * @param string $admin_title The page title, with extra context added. * @param string $title The original page title. */
$admin_title = apply_filters( 'admin_title', $admin_title$title );

wp_user_settings();

_wp_admin_html_begin();
?> <title><?php echo esc_html( $admin_title ); ?></title> <?php
wp_enqueue_style( 'colors' );
wp_enqueue_script( 'utils' );
wp_enqueue_script( 'svg-painter' );

$admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix );
Home | Imprint | This part of the site doesn't use cookies.