refresh_blog_details
Deprecated since 4.9.0. It is no longer supported and may be removed in future releases. See clean_site_cache.
Fires after the blog details cache is cleared.
Usage
add_action( 'refresh_blog_details', 'wp_kama_refresh_blog_details_action', 10, 2 );
/**
* Function for `refresh_blog_details` action-hook.
*
* @param int $blog_id Blog ID.
* @param $string
*
* @return void
*/
function wp_kama_refresh_blog_details_action( $blog_id, $string ){
// action...
}
- $blog_id(int)
- Blog ID.
- $string
- -
Changelog
| Since 3.4.0 | Introduced. |
| Deprecated since 4.9.0 | Use {@see 'clean_site_cache'} instead. |
Where the hook is called
refresh_blog_details
wp-includes/ms-site.php 1019
do_action_deprecated( 'refresh_blog_details', array( $blog_id ), '4.9.0', 'clean_site_cache' );