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



pre_delete_site_option_{$option} ›

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

Fires immediately before a specific network option is deleted.

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





Fonte

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