Page::add_tec_tickets_admin_tickets_page()

Adds the Event Tickets All Tickets page.

Contents


Source

File: src/Tickets/Admin/Tickets/Page.php

	public function add_tec_tickets_admin_tickets_page() {
		$admin_pages = tribe( 'admin.pages' );

		$admin_pages->register_page(
			[
				'id'       => static::$slug,
				'path'     => static::$slug,
				'parent'   => static::$parent_slug,
				'title'    => esc_html__( 'All Tickets', 'event-tickets' ),
				'position' => 1.2,
				'callback' => [
					$this,
					'render_tec_tickets_admin_tickets_page',
				],
			]
		);
	}

Top ↑

Changelog

Changelog
Version Description
5.14.0 Introduced.