list_plugin_updates example

echo '<p class="update-last-checked">';
    /* translators: 1: Date, 2: Time. */
    printf( __( 'Last checked on %1$s at %2$s.' )date_i18n( __( 'F j, Y' )$last_update_check )date_i18n( __( 'g:i a T' )$last_update_check ) );
    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 */
Home | Imprint | This part of the site doesn't use cookies.