Warning: This hook has been deprecated.

deleted_blog WordPress Hook

The deleted_blog hook is called whenever a blog is deleted from a WordPress installation. It is useful for performing any actions that need to be taken when a blog is deleted, such as cleaning up any associated data.

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

Fires after the site is deleted from the network.


Parameters

$site_id

(int)The site ID.

$drop

(bool)True if site's tables 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.
4.8.0Introduced.

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.