Tribe__Validator__Base::is_user_id( mixed $value )

Whether the value corresponds to an existing user ID or not.


Parameters

$value

(mixed) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Validator/Base.php

	public function is_user_id( $value ) {
		return is_numeric( $value ) && (bool) get_user_by( 'ID', $value );
	}