Tribe__Events__Aggregator__Record__Abstract::finalize()

Finalizes the import record for insert


Source

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

	public function finalize() {
		$this->update_meta( 'finalized', true );

		/**
		 * Fires after a record has been finalized and right before it starts importing.
		 *
		 * @since 4.6.21
		 *
		 * @param int   $id   The Record post ID
		 * @param array $meta An array of meta for the record
		 * @param self  $this The Record object itself
		 */
		do_action( 'tribe_aggregator_record_finalized', $this->id, $this->meta, $this );
	}