Inventory_Presser_Schema_Org_Generator::include_json_ld()


Source Source

File: includes/class-schema-org-generator.php

	public function include_json_ld()
	{
		if( ! is_singular( INVP::POST_TYPE ) )
		{
			return;
		}

		if( ! apply_filters( 'invp_include_schema_org_json_ld', true ) )
		{
			return;
		}

		global $post;
		echo $this->schema_org_json_ld( $post->ID );
	}