Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



default_site_option_{$option} ›

Seit4.7.0
Veraltetn/v
apply_filters( "default_site_option_{$option}", $default, $option, $network_id )
Parameter: (3)
  • (mixed) $default The value to return if the site option does not exist in the database.
    Erforderlich: Ja
  • (string) $option Option name.
    Erforderlich: Ja
  • (int) $network_id ID of the network.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a specific default network option.

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





Quellcode

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