Inventory_Presser_Schema_Org_Generator::include_json_ld()
Decides whether to output schema.org data and outputs the data.
Return Return
(void)
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 ); }
Expand full source codeCollapse full source codeView on Github