Tribe__Events__JSON_LD__Venue::instance( $name = null )

On PHP 5.2 the child class doesn’t get spawned on the Parent one, so we don’t have access to that information on the other side unless we pass it around as a param so we throw __CLASS__ to the parent::instance() method to be able to spawn new instance of this class and save on the parent::$instances variable.


Parameters

$name

(Optional) DONT USE THIS PARAM, it's here for Abstract compatibility

Default value: null


Top ↑

Return

(Tribe__Events__JSON_LD__Venue)


Top ↑

Source

File: src/Tribe/JSON_LD/Venue.php

	public static function instance( $name = null ) {
		return parent::instance( __CLASS__ );
	}