Tribe__Tickets__Data_API::attendees_has_meta_data( $post_id, null $context = null )

Return if attendee(s) have meta fields with data


Parameters

$post_id

(Required)

$context

(null) (Optional)

Default value: null


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Data_API.php

	public function attendees_has_meta_data( $post_id, $context = null ) {
		$attendees = $this->get_attendees( $post_id, $context );
		if ( ! is_array( $attendees ) ) {
			return false;
		}

		return $this->attendees_meta_check( false, $attendees );
	}