Occurrence::normalize_id( int $occurrence_id )

Filters the Occurrence post ID to normalize it.

By default the Occurrence post ID will not be modified.


Parameters

$occurrence_id

(int) (Required) The Occurrence post ID to normalize.


Top ↑

Return

(int) The normalized Occurrence post ID.


Top ↑

Source

File: src/Events/Custom_Tables/V1/Models/Occurrence.php

	public static function normalize_id( $occurrence_id ) {
		/**
		 * Filters the Occurrence post ID to normalize it.
		 *
		 * @since 6.0.0
		 *
		 * @param int $occurrence_id The Occurrence post ID to normalize.
		 */
		$normalized_id = apply_filters( 'tec_events_custom_tables_v1_normalize_occurrence_id', $occurrence_id );

		return $normalized_id;
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.