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



default_site_option_{$option} › Hooks de Filtros WordPress

Desde4.7.0
Obsoleton/a
apply_filters( "default_site_option_{$option}", $default_value, $option, $network_id )
Parâmetros: (3)
  • (mixed) $default_value The value to return if the site option does not exist in the database.
    Required: Yes
  • (string) $option Option name.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
Definido em:
Codex:

Filters the value of a specific default network option.

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





Fonte

return apply_filters( "default_site_option_{$option}", $default_value, $option, $network_id );