unmature_blog
Fires when the 'mature' status is removed from a site.
Usage
add_action( 'unmature_blog', 'wp_kama_unmature_blog_action' ); /** * Function for `unmature_blog` action-hook. * * @param int $site_id Site ID. * * @return void */ function wp_kama_unmature_blog_action( $site_id ){ // action... }
- $site_id(int)
- Site ID.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
unmature_blog
wp-includes/ms-site.php 1196
do_action( 'unmature_blog', $site_id );