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



get_user_option_{$option} › WordPress Filter Hooks

Seit2.5.0
Veraltetn/v
apply_filters( "get_user_option_{$option}", $result, $option, $user )
Parameter: (3)
  • (mixed) $result Value for the user's option.
    Erforderlich: Ja
  • (string) $option Name of the option being retrieved.
    Erforderlich: Ja
  • (WP_User) $user WP_User object of the user whose option is being retrieved.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a specific user option value.

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





Quellcode

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