WordPress at a glance
action is not described

delete_blog action-hook . WP 3.0.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 before a site is deleted.


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

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

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

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

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

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

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