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



add_option_{$option} › Les Actions WordPress

Depuis3.0.0
Dépréciéen/a
do_action( "add_option_{$option}", $option, $value )
Paramètres: (2)
  • (string) $option Name of the option to add.
    Requis: Oui
  • (mixed) $value Value of the option.
    Requis: Oui
Défini(e) dans:
Codex:

Fires after a specific option has been added.

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





Source

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