wpmu_update_blog_options
Fires after the site options are updated.
Usage
add_action( 'wpmu_update_blog_options', 'wp_kama_wpmu_update_blog_options_action' );
/**
* Function for `wpmu_update_blog_options` action-hook.
*
* @param int $id The ID of the site being updated.
*
* @return void
*/
function wp_kama_wpmu_update_blog_options_action( $id ){
// action...
}
- $id(int)
- The ID of the site being updated.
Changelog
| Since 3.0.0 | Introduced. |
| Since 4.4.0 | Added $id parameter. |
Where the hook is called
In file: /wp-admin/network/site-settings.php
wpmu_update_blog_options
wp-admin/network/site-settings.php 60
do_action( 'wpmu_update_blog_options', $id );