get_document_title_template example

'home'          => sanitize_url( home_url( '/' ) ),
                'login'         => sanitize_url( $login_url ),
            ),
            'browser'                => array(
                'mobile' => wp_is_mobile(),
                'ios'    => $this->is_ios(),
            ),
            'panels'                 => array(),
            'sections'               => array(),
            'nonce'                  => $this->get_nonces(),
            'autofocus'              => $this->get_autofocus(),
            'documentTitleTmpl'      => $this->get_document_title_template(),
            'previewableDevices'     => $this->get_previewable_devices(),
            'l10n'                   => array(
                'confirmDeleteTheme'   => __( 'Are you sure you want to delete this theme?' ),
                /* translators: %d: Number of theme search results, which cannot currently consider singular vs. plural forms. */
                'themeSearchResults'   => __( '%d themes found' ),
                /* translators: %d: Number of themes being displayed, which cannot currently consider singular vs. plural forms. */
                'announceThemeCount'   => __( 'Displaying %d themes' ),
                /* translators: %s: Theme name. */
                'announceThemeDetails' => __( 'Showing details for theme: %s' ),
            ),
        );

        


if ( is_rtl() ) {
    $body_class .= ' rtl';
}
$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );

if ( wp_use_widgets_block_editor() ) {
    $body_class .= ' wp-embed-responsive';
}

$admin_title = sprintf( $wp_customize->get_document_title_template()__( 'Loading…' ) );

?> <title><?php echo esc_html( $admin_title ); ?></title> <script type="text/javascript"> var ajaxurl = <?php echo wp_json_encode( admin_url( 'admin-ajax.php', 'relative' ) ); ?>, pagenow = 'customize'; </script> <?php /** * Fires when Customizer control styles are printed. * * @since 3.4.0 */
Home | Imprint | This part of the site doesn't use cookies.