Module::is_checkout_page()
Return whether we’re currently on the checkout page for Tickets Commerce.
Return
(bool)
Source
File: src/Tickets/Commerce/Module.php
public function is_checkout_page() {
return tribe( Checkout::class )->is_current_page();
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |