过滤器::过滤特定的用户选项值。
apply_filters ( “get_user_option_{$option}”, mixed $result , string $option , WP_User $user )
明(Description)
钩子名$option的动态部分引用用户选项名。
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $result | (mixed) | 用户选项的值。 |
| $option | (string) | 正在检索的选项的名称。 |
| $user | (WP_User) | 正在检索其选项的用户的WP_User对象。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.5.0 | wp-includes/user.php:503 | 1 | 0 |





















