WPDev.one
Core Function
View Source on Trac ↗

is_user_option_local()

is_user_option_local( mixed $key, mixed $user_id = 0, mixed $blog_id = 0 )

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

Parameters 1 required

Name / Type Description
string

$key

Required
$user_id
int

Optional. Defaults to current user.

$blog_id
int

Optional. Defaults to current blog.

Return Value

(bool)
bool

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/ms-deprecated.php
Advertisement