Tribe__Tickets__Attendee_Registration__Template::should_enqueue_frontend( boolean $enqueue )

Ensure we enqueue the frontend styles and scripts from our plugins on the AR page.


Parameters

$enqueue

(boolean) (Required) A boolean containing if we should enqueue.


Top ↑

Return

(boolean) Whether we should enqueue frontend styles and scripts.


Top ↑

Source

File: src/Tribe/Attendee_Registration/Template.php

	public function should_enqueue_frontend( $enqueue ) {
		if ( $this->is_on_ar_page() ) {
			return true;
		}

		return $enqueue;
	}

Top ↑

Changelog

Changelog
Version Description
4.11.3 Introduced.