wp_direct_php_update_button example

'<a class="button button-primary" href="%1$s" target="_blank" rel="noopener">%2$s<span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
            esc_url( wp_get_update_php_url() ),
            __( 'Learn more about updating PHP' ),
            /* translators: Hidden accessibility text. */
            __( '(opens in a new tab)' )
        );
        ?> </p> <?php
    wp_update_php_annotation();
    wp_direct_php_update_button();
}

/** * Adds an additional class to the PHP nag if the current version is insecure. * * @since 5.1.0 * * @param string[] $classes Array of meta box classes. * @return string[] Modified array of meta box classes. */
function dashboard_php_nag_class( $classes ) {
    
Home | Imprint | This part of the site doesn't use cookies.