Un motore di ricerca WordPress per sviluppatori e autori di temi



add_option_{$option} ›

Da3.0.0
Deprecaton/a
do_action( "add_option_{$option}", $option, $value )
Parametri: (2)
  • (string) $option Name of the option to add.
    Richiesto:
  • (mixed) $value Value of the option.
    Richiesto:
Definito a:
Codex:

Fires after a specific option has been added.

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





Sorgenti

do_action( "add_option_{$option}", $option, $value );