WordPress at a glance
action is not described

deleted_blog action-hook . WP 4.8.0

Deprecated in from version 5.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.

Deprecated: 5.1.0

Fires after the site is deleted from the network.


add_action( 'deleted_blog', 'action_function_name_9399', 10, 2 );
function action_function_name_9399( $site_id, $drop ){
	// action...
The site ID.
True if site's tables should be dropped.
Default: false

Список изменений

С версии 4.8.0 Введена.
Устарела с 5.1.0

Где вызывается хук

wp-includes/ms-site.php 292
do_action_deprecated( 'deleted_blog', array( $old_site->id, true ), '5.1.0' );
wp-admin/includes/ms.php 119
do_action_deprecated( 'deleted_blog', array( $blog_id, false ), '5.1.0' );

Где используется хук в ядре WP

Использование не найдено.