get_autofocus example

'isCrossDomain' => $this->is_cross_domain(),
                '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' ),
            ),
        );
Home | Imprint | This part of the site doesn't use cookies.