Created
March 26, 2018 13:29
-
-
Save stevygee/51f9822aa873414baa1b137188ceef6f to your computer and use it in GitHub Desktop.
The Events Calendar CSV import: Find matching event with same venue by adding this to src\Tribe\Importer\File_Importer_Events.php on line 56.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
// Match venue | |
$meta_query[] = array( | |
'key' => '_EventVenueID', | |
'value' => $this->find_matching_venue_id( $record ), | |
); | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment