WP_User::has_prop( string $key )

Determine whether a property or meta key is set


Description

Consults the users and usermeta tables.


Parameters

$key

(Required) Property


Return

(bool)


Source

File: wp-includes/class-wp-user.php

	public function has_prop( $key ) {
		return $this->__isset( $key );
	}


Changelog

Changelog
Version Description
WP-3.3.0 Introduced.