Filters a specific user option value.
The dynamic portion of the hook name, $option, refers to the user option name.
return apply_filters( "get_user_option_{$option}", $result, $option, $user );
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_user_option_option