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



update_option_{$option} › Les Actions WordPress

Depuis4.4.0
Dépréciéen/a
do_action( "update_option_{$option}", $old_value, $value, $option )
Paramètres: (3)
  • (mixed) $old_value The old option value.
    Requis: Oui
  • (mixed) $value The new option value.
    Requis: Oui
  • (string) $option Option name.
    Requis: Oui
Défini(e) dans:
Codex:

Fires after the value of a specific option has been successfully updated.

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





Source

do_action( "update_option_{$option}", $old_value, $value, $option );