Tribe__JSON_LD__Abstract::exists( int|WP_Post $post )
Checks if a Post has been registered to the JSON-LD index
Contents
Parameters
- $post
-
(int|WP_Post) (Required) The Post Object or ID
Return
(bool)
Source
File: src/Tribe/JSON_LD/Abstract.php
public function exists( $post ) {
return isset( self::$posts[ Tribe__Main::post_id_helper( $post ) ] );
}