Occurrence::get_occurrence_id_attribute( $value )

Dynamic accessor to the occurrence ID attribute.


Parameters

$value

(Required)


Top ↑

Return

(int|null)


Top ↑

Source

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

	public function get_occurrence_id_attribute( $value ) {
		return $value ? (int) $value : null;
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.