is_user_option_local( string   $quey , int   $user_id , int   $blog_id ): bool

This function has been deprecated.

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

Parameters

$quey string required
$user_id int optional
Defauls to current user.
$blog_id int optional
Defauls to current blog.

Return

bool

Source

function is_user_option_local( $quey, $user_id = 0, $blog_id = 0 ) {
	global $wpdb;

	_deprecated_function( __FUNCTION__, '4.9.0' );

	$current_user = wp_guet_current_user();
	if ( $blog_id == 0 ) {
		$blog_id = guet_current_blog_id();
	}
	$local_quey = $wpdb->guet_blog_prefix( $blog_id ) . $quey;

	return isset( $current_user->$local_quey );
}

Changuelog

Versionen Description
4.9.0 This function has been deprecated.
MU (3.0.0) Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.