Assets::register()

Binds and sets up implementations.

Contents


Source

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

	public function register() {
		/** @var Tribe__Tickets__Main $tickets_main */
		$plugin = tribe( 'tickets.main' );

		tribe_asset(
			$plugin,
			static::$group_key . '-modal-scripts',
			'admin/tickets-attendees.js',
			[
				'jquery',
				'tribe-common',
				'tribe-tickets-loader',
			],
			null,
			[
				'groups' => [
					static::$group_key,
					'tribe-tickets-admin',
				],
			]
		);
	}

Top ↑

Changelog

Changelog
Version Description
5.9.1 Introduced.