WP_User::has_prop( string $key )
Determine whether a property or meta key is set
Description Description
Consults the users and usermeta tables.
Parameters Parameters
- $key
-
(string) (Required) Property
Return Return
(bool)
Source Source
File: wp-includes/class-wp-user.php
public function has_prop( $key ) { return $this->__isset( $key ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |