On this page
do_action( "pre_delete_site_option_{$option}", string $option, int $network_id )
Fires immediately before a specific network option is deleted.
Description
The dynamic portion of the hook name, $option, refers to the option name.
Parameters
$optionstring-
Option name.
$network_idint-
ID of the network.
Source
File: wp-includes/option.php. View all references
do_action( "pre_delete_site_option_{$option}", $option, $network_id );
Related
Used By
| Used By | Description |
|---|---|
| delete_network_option() wp-includes/option.php | Removes a network option by name. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_delete_site_option_option