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

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

Leave a comment