Filter gdrts_rich_snippet_jsonld_build_$type is used to filter generated rich snippet for JSON-LD format before it is rendered and included in the content. Before it is used, the variable $type has to be replaced with the code name of the snippet. This filter has 2 arguments:
- $build: array with the generated snippet. This array structure is different for each snippet type.
- $snippet: the object generating the snippet.
Comments