Hooks::register_post_types()
Register all Commerce Post Types in WordPress.
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();
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |