deactivate_blog WordPress Action Hook
The deactivate_blog hook is fired when a blog is deactivated. This hook can be used to perform cleanup tasks such as deleting data associated with the blog.
do_action( 'deactivate_blog', int $id ) #
Fires before a network site is deactivated.
Contents
Parameters
- $id
(int)The ID of the site being deactivated.
Source
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |