Function: is_user_option_local

is_user_option_local( string $key, integer $user_id, integer $blog_id )

Check whether a usermeta key has to do with the current blog.

Parameters

Name Type(s) Default Value Description
$key string
$user_id integer

Optional. Defaults to current user.

$blog_id integer

Optional. Defaults to current blog.

Returns

boolean

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.