Tribe__Tickets_Plus__Meta::filter_cart_has_required_meta( boolean $cart_has_required_meta, array $tickets_in_cart )

Handle filtering tribe_tickets_attendee_registration_has_required_meta to determine whether any of the cart tickets has required meta.


Parameters #

$cart_has_required_meta

(boolean) (Required) Whether the cart has required meta.

$tickets_in_cart

(array) (Required) The array containing the cart elements. Format array( 'ticket_id' => 'quantity' ).


Top ↑

Return #

(bool) Whether any of the cart tickets has required meta.


Top ↑

Source #

File: src/Tribe/Meta.php

	public function filter_cart_has_required_meta( $cart_has_required_meta, $tickets_in_cart ) {
		return $this->cart_has_meta( $tickets_in_cart );
	}

Top ↑

Changelog #

Changelog
Version Description
4.11.0 Introduced.