make_undelete_blog
Fires when the 'flagged for deletion' status is removed from a site.
Использование
add_action( 'make_undelete_blog', 'wp_kama_make_undelete_blog_action' );
/**
* Function for `make_undelete_blog` action-hook.
*
* @param int $site_id Site ID.
*
* @return void
*/
function wp_kama_make_undelete_blog_action( $site_id ){
// action...
}
- $site_id(int)
- Site ID.
Список изменений
| С версии 3.5.0 | Введена. |
Где вызывается хук
make_undelete_blog
wp-includes/ms-site.php 1262
do_action( 'make_undelete_blog', $site_id );
Где используется хук в WordPress
wp-includes/ms-default-filters.php 95
add_action( $action, 'wp_maybe_update_network_site_counts', 10, 0 );