apply_filters( 'tec_custom_tables_v1_get_occurrence_match', TECEventsCustom_TablesV1ModelsOccurrence|null $occurrence , TECEventsCustom_TablesV1ModelsOccurrence $result , int $post_id )
Filters the Occurrence that should be returned to match the requested new Occurrence.
Contents
Parameters
- $occurrence
-
(TECEventsCustom_TablesV1ModelsOccurrence|null) The Occurrence instance as returned by TEC or other filtering functions.
- $result
-
(TECEventsCustom_TablesV1ModelsOccurrence) A reference to the Occurrence model instance that should be inserted for which a match is being searched among the existing Occurrences.
- $post_id
-
(int) The ID of the Event post the match is being searched for.
Source
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |