Filters the value of a specific network option before it is added.
The dynamic portion of the hook name, $option, refers to the option name.
$valuemixed
$optionstring
$network_idint
$value = apply_filters( "pre_add_site_option_{$option}", $value, $option, $network_id );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_add_site_option_option