wp_theme_update_rows

Definition:
function wp_theme_update_rows() {}

Source code

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 );

		}

	}

}

11005

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: