apply_filters( 'event_tickets_post_supports_tickets', bool $can_have_tickets , int $post_id )
Allows overriding the ability of a post to support tickets, as long as the post_type supports tickets.
Contents
Parameters
- $can_have_tickets
-
(bool) the post type slug
- $post_id
-
(int) the post id
Source
File: src/Tribe/Editor.php
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |