wpmu_blog_updated
Fires after the blog details are updated.
Description
Parameters (1)
- 0. $wpdb_blogid (int)
- The
wpdb
blogid.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wpmu_blog_updated', $wpdb_blogid );
- The following example is for adding a hook callback.
- // define the wpmu_blog_updated callback
- function action_wpmu_blog_updated( $wpdb_blogid ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wpmu_blog_updated', 'action_wpmu_blog_updated', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wpmu_blog_updated', 'action_wpmu_blog_updated', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /wp-includes/ms-blogs.php
- do_action( 'wpmu_blog_updated', $wpdb->blogid );