wp_theme_update_rows() –

You appear to be a bot. Output may be restricted

Description

Usage

wp_theme_update_rows();

Parameters

Returns

void

Source

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

1 to 14 of 14
function wp_theme_update_rows() {
  if ( ! current_user_can( 'update_themes' ) ) {
    return;
  }

  $themes = get_site_transient( 'update_themes' );
  if ( isset( $themes->response ) && is_array( $themes->response ) ) {
    $themes = array_keys( $themes->response );

    foreach ( $themes as $theme ) {
      add_action( "after_theme_row_{$theme}", 'wp_theme_update_row',  < 10, 2 );
    }
  }
}
 

 View on GitHub View on Trac