Un motore di ricerca WordPress per sviluppatori e autori di temi



default_site_option_{$option} ›

Da4.7.0
Deprecaton/a
apply_filters( "default_site_option_{$option}", $default, $option, $network_id )
Parametri: (3)
  • (mixed) $default The value to return if the site option does not exist in the database.
    Richiesto:
  • (string) $option Option name.
    Richiesto:
  • (int) $network_id ID of the network.
    Richiesto:
Definito a:
Codex:

Filters a specific default network option.

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





Sorgenti

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