Hooks::register_post_types()

Register all Commerce Post Types in WordPress.

Contents


Source

File: src/Tickets/Commerce/Hooks.php

	public function register_post_types() {
		$this->container->make( Attendee::class )->register_post_type();
		$this->container->make( Order::class )->register_post_type();
		$this->container->make( Ticket::class )->register_post_type();
	}

Top ↑

Changelog

Changelog
Version Description
5.1.9 Introduced.