Tribe__Events__Aggregator__Settings::get_source_origin_regexp()
Gets all the possible regular-exp for external url sources
Return
(array)
Source
File: src/Tribe/Aggregator/Settings.php
public function get_source_origin_regexp() {
$origins = array(
'eventbrite' => Tribe__Events__Aggregator__Record__Eventbrite::get_source_regexp(),
'meetup' => Tribe__Events__Aggregator__Record__Meetup::get_source_regexp(),
);
/**
* Allows external plugins to filter which are the source Regular EXP
*
* @since 4.6.18
*
* @param array $origins Which origins already exist
*/
return apply_filters( 'tribe_aggregator_source_origin_regexp', $origins );
}
Changelog
| Version | Description |
|---|---|
| 4.6.18 | Introduced. |