A WordPress-centric search engine for devs and theme authors



default_site_option_{$option} ›

Since4.7.0
Deprecatedn/a
apply_filters( "default_site_option_{$option}", $default, $option, $network_id )
Parameters: (3)
  • (mixed) $default 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
Defined at:
Codex:

Filters a specific default network option.

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





Source

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