apply_filters( 'tribe_tickets_modal_setting', boolean $option , int|WP_Post|null $post )
Allow filtering of the modal setting, on a post-by-post basis if desired.
Contents
Parameters
- $option
-
(boolean) The option value from ticket settings.
- $post
-
(int|WP_Post|null) The passed post or null if none passed.
Source
Changelog
| Version | Description |
|---|---|
| 4.11.0 | Introduced. |