Modal::should_render()

Check if we should render the modal.


Return

(boolean) Whether we should render the modal.


Top ↑

Source

File: src/Tickets/Admin/Attendees/Modal.php

	public function should_render(): bool {
		return tribe( Page::class )->is_on_page() || tribe_get_request_var( 'page' ) === 'tickets-attendees';
	}

Top ↑

Changelog

Changelog
Version Description
5.9.1 Introduced.