apply_filters( "get_user_option_{$option}", mixed $result, string $option, WP_User $user )

Filters a specific user option value.

Description

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

Parameters

$result

(mixed) Value for the user's option.

$option

(string) Name of the option being retrieved.

$user

(WP_User) WP_User object of the user whose option is being retrieved.

Source

File: wp-includes/user.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_user_option_option