Warning: This hook has been deprecated.

delete_blog WordPress Hook

The delete_blog hook is called whenever a blog is deleted. It allows for custom cleanup or other actions to be performed when a blog is deleted.

do_action_deprecated( 'delete_blog', int $site_id, bool $drop ) #

Fires before a site is deleted.


Parameters

$site_id

(int)The site ID.

$drop

(bool)True if site's table should be dropped. Default false.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.1.0This hook has been deprecated.
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.