Fires before a network site is deactivated.
Parameters
$idint- The ID of the site being deactivated.
Source
do_action( 'deactivate_blog', $id );
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
Fires before a network site is deactivated.
$idintdo_action( 'deactivate_blog', $id );
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
You must log in before being able to contribute a note or feedback.
Example migrated from Codex: