Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_user_option_{$option} ›

Desde2.5.0
Obsoleton/a
apply_filters( "get_user_option_{$option}", $result, $option, $user )
Parâmetros: (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
Definido em:
Codex:

Filters a specific user option value.

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





Fonte

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