wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wpmu_update_blogs_date › WordPress Function
Seit
Veraltetn/v
› wpmu_update_blogs_date ( Keine Parameter )
| Definiert in: |
|
| Codex: | |
| Changelog: |
|
Updates the last_updated field for the current site.
Ähnliche Funktionen: wp_update_post, wp_update_site, update_blog_status, update_blog_details, wpmu_delete_blog
Quellcode
function wpmu_update_blogs_date() {
$site_id = get_current_blog_id();
update_blog_details( $site_id, array( 'last_updated' => current_time( 'mysql', true ) ) );
/**
* Fires after the blog details are updated.
*
* @since MU (3.0.0)
*
* @param int $blog_id Site ID.
*/
do_action( 'wpmu_blog_updated', $site_id );
}