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


(string) (Required) Property

Top ↑

Return Return


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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