Advertisements

wpmu_update_blogs_date

Definition:
function wpmu_update_blogs_date() {}

Update the last_updated field for the current blog.

Defined actions

  • wpmu_blog_updated
    do_action( 'wpmu_blog_updated', $wpdb->blogid );

Source code

function wpmu_update_blogs_date() {

	global $wpdb;



	update_blog_details( $wpdb->blogid, array('last_updated' => current_time('mysql', true)) );



	do_action( 'wpmu_blog_updated', $wpdb->blogid );

}

3401

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: