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



default_site_option_{$option} › WordPress Filter Hooks

Seit4.7.0
Veraltetn/v
apply_filters( "default_site_option_{$option}", $default_value, $option, $network_id )
Parameter: (3)
  • (mixed) $default_value 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 the value of 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_value, $option, $network_id );