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



delete_site_option_{$option} › WordPress Action Hooks

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

Fires after a specific network option has been deleted.

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





Source

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