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

$option

string

Option name.

$network_id

int

ID of the network.

Source

File: wp-includes/option.php.

View all references

do_action( "pre_delete_site_option_{$option}", $option, $network_id );

Leave a Reply

Your email address will not be published. Required fields are marked *