wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_delete_site_option_{$option} › WordPress Action Hooks

Since4.7.0
Deprecatedn/a
do_action( "pre_delete_site_option_{$option}", $option, $network_id )
Parameters: (2)
  • (string) $option Option name.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
Defined at:
Codex:

Fires immediately before a specific network option is deleted.

The dynamic portion of the hook name, $option, refers to the option name.





Source

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