unmature_blog
Fires when the 'mature' status is removed from a site.
Использование
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.
Список изменений
С версии 3.1.0 | Введена. |
Где вызывается хук
unmature_blog
wp-includes/ms-site.php 1197
do_action( 'unmature_blog', $site_id );