Uses
Uses | Description |
---|---|
wp-includes/class-wp-user.php: WP_User::__isset() | Magic method for checking the existence of a certain custom field. |
Determine whether a property or meta key is set
Consults the users and usermeta tables.
(string) (Required) Property
(bool)
File: wp-includes/class-wp-user.php
public function has_prop( $key ) { return $this->__isset( $key ); }
Version | Description |
---|---|
3.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_user/has_prop