WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/is user option local

This page is marked as incomplete. You can help Codex by expanding it.

Description

Check whether a usermeta key has to do with a particular blog.

Usage

<?php is_user_option_local$key$user_id$blog_id ); ?>

Parameters

$key
(string) (required) Usermeta key to check
Default: None
$user_id
(integer) (optional) User ID whose key to check
Default: current user
$blog_id
(integer) (optional) Blog ID against which to check
Default: current user

Return Value

(boolean) 
True if related, False if not

Examples


Notes

Change Log

Since: MU

Source File

is_user_option_local() is located in wp-includes/ms-functions.php

Related

 

See also index of Function Reference and index of Template Tags.