Uma área de pesquisa sobre o WordPress para devs e autores do tema



delete_site_option_{$option} ›

Desde4.7.0
Obsoleton/a
do_action( "delete_site_option_{$option}", $option, $network_id )
Parâmetros: (2)
  • (string) $option Name of the network option.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
Definido em:
Codex:

Fires after a specific network option has been deleted.

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





Fonte

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