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



add_site_option_{$option} ›

Seit4.7.0
Veraltetn/v
do_action( "add_site_option_{$option}", $option, $value, $network_id )
Parameter: (3)
  • (string) $option Name of the network option.
    Erforderlich: Ja
  • (mixed) $value Value of the network option.
    Erforderlich: Ja
  • (int) $network_id ID of the network.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a specific network option has been successfully added.

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





Quellcode

do_action( "add_site_option_{$option}", $option, $value, $network_id );