mature_blog action-hookWP 3.1.0

Fires when the 'mature' status is added to a site.

Usage

add_action( 'mature_blog', 'wp_kama_mature_blog_action' );

/**
 * Function for `mature_blog` action-hook.
 * 
 * @param int $site_id Site ID.
 *
 * @return void
 */
function wp_kama_mature_blog_action( $site_id ){

	// action...
}
$site_id(int)
Site ID.

Changelog

Since 3.1.0 Introduced.

Where the hook is called

wp_maybe_transition_site_statuses_on_update()
mature_blog
wp-includes/ms-site.php 1190
do_action( 'mature_blog', $site_id );

Where the hook is used in WordPress

Usage not found.