Tribe__JSON_LD__Abstract::exists( int|WP_Post $post )

Checks if a Post has been registered to the JSON-LD index


Parameters

$post

(int|WP_Post) (Required) The Post Object or ID


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/JSON_LD/Abstract.php

	public function exists( $post ) {
		return isset( self::$posts[ Tribe__Main::post_id_helper( $post ) ] );
	}