apply_filters( "tribe_events_importer_venue_{$key}_value", string $key, string $value, array $venue, array , object $this )

Allows filtering of individual main values before setting.

Return boolean false to prevent importing that value.


Parameters #

$key

(string) The mapped key for the value we'll be importing. From the $columns array above, this would be 'venue_name', for example.

$value

(string) The mapped value we'll be importing.

$venue

(array) The entire array of venue data we're modifying.

(array) <string,string> $record The event record from the import file. Only contains mapped values. Useful if value and key above don't appear to match what's expected. In the format [ mapped_key => value ].

$this

(object) The current instance of Tribe__Events__Importer__File_Importer_Venues.


Top ↑

Source #

File: src/Tribe/Importer/File_Importer_Venues.php