get_user_option_{$option}

Advertisement

Summery Summery

Filters a specific user option value.

Syntax Syntax

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

Description Description

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

Parameters 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 Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?