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



pre_add_site_option_{$option} › WordPress Filter Hooks

Seit4.7.0
Veraltetn/v
apply_filters( "pre_add_site_option_{$option}", $value, $option, $network_id )
Parameter: (3)
  • (mixed) $value Value of network option.
    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 network option before it is added.

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





Quellcode

$value = apply_filters( "pre_add_site_option_{$option}", $value, $option, $network_id );