list_theme_updates example

echo ' <a href="' . esc_url( self_admin_url( 'update-core.php?force-check=1' ) ) . '">' . __( 'Check again.' ) . '</a>';
    echo '</p>';

    if ( current_user_can( 'update_core' ) ) {
        core_auto_updates_settings();
        core_upgrade_preamble();
    }
    if ( current_user_can( 'update_plugins' ) ) {
        list_plugin_updates();
    }
    if ( current_user_can( 'update_themes' ) ) {
        list_theme_updates();
    }
    if ( current_user_can( 'update_languages' ) ) {
        list_translation_updates();
    }

    /** * Fires after the core, plugin, and theme update tables. * * @since 2.9.0 */
    do_action( 'core_upgrade_preamble' );
    
Home | Imprint | This part of the site doesn't use cookies.