wpseek.com
A WordPress-centric search engine for devs and theme authors



get_user_option_{$option} › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( "get_user_option_{$option}", $result, $option, $user )
Parameters: (3)
  • (mixed) $result Value for the user's option.
    Required: Yes
  • (string) $option Name of the option being retrieved.
    Required: Yes
  • (WP_User) $user WP_User object of the user whose option is being retrieved.
    Required: Yes
Defined at:
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 );