WP_User::has_prop( string $key ): bool

Determines whether a property or meta key is set.

Description

Consults the users and usermeta tables.

Parameters

$keystringrequired
Property.

Return

bool

Source

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

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

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