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



get_user_option_{$option} › Les Filtres WordPress

Depuis2.5.0
Dépréciéen/a
apply_filters( "get_user_option_{$option}", $result, $option, $user )
Paramètres: (3)
  • (mixed) $result Value for the user's option.
    Requis: Oui
  • (string) $option Name of the option being retrieved.
    Requis: Oui
  • (WP_User) $user WP_User object of the user whose option is being retrieved.
    Requis: Oui
Défini(e) dans:
Codex:

Filters a specific user option value.

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





Source

return apply_filters( "get_user_option_{$option}", $result, $option, $user );