wp_plugin_update_rows() –

You appear to be a bot. Output may be restricted

Description

Usage

wp_plugin_update_rows();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/update.php
Lines:

1 to 13 of 13
function wp_plugin_update_rows() {
  if ( ! current_user_can( 'update_plugins' ) ) {
    return;
  }

  $plugins = get_site_transient( 'update_plugins' );
  if ( isset( $plugins->response ) && is_array( $plugins->response ) ) {
    $plugins = array_keys( $plugins->response );
    foreach ( $plugins as $plugin_file ) {
      add_action( "after_plugin_row_{$plugin_file}", 'wp_plugin_update_row',  < 10, 2 );
    }
  }
}
 

 View on GitHub View on Trac