Tribe__Events__Aggregator__Record__Abstract::is_polling()

Whether the record will try to fetch the import data polling EA Service or expecting batches of data being pushed to it by EA Service.


Return

(bool)


Top ↑

Source

File: src/Tribe/Aggregator/Record/Abstract.php

	public function is_polling() {
		$is_polling = empty( $this->meta['allow_batch_push'] ) || false === (bool) $this->meta['allow_batch_push'];

		/**
		 * Whether the current record is a Service polling one or not.
		 *
		 * @since 4.6.15
		 *
		 * @param bool $is_polling
		 * @param Tribe__Events__Aggregator__Record__Abstract $record
		 */
		$is_polling = apply_filters( 'tribe_aggregator_record_is_polling', $is_polling, $this );

		return $is_polling;
	}

Top ↑

Changelog

Changelog
Version Description
4.6.15 Introduced.