wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



default_site_option_{$option} › Les Filtres WordPress

Depuis4.7.0
Dépréciéen/a
› apply_filters( "default_site_option_{$option}", $default_value, $option, $network_id )
Paramètres: (3)
  • () default_value The value to return if the site option does not exist in the database.
    Requis: Oui
  • () option Option name.
    Requis: Oui
  • () network_id ID of the network.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the value of 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_value, $option, $network_id );