amp_post_template_metadata

apply_filters( 'amp_post_template_metadata',  array $metadata,  WP_Post $queried_object )

Description #

Filters Schema.org metadata for a post.

The 'post_template' in the filter name here is due to this filter originally being introduced in AMP_Post_Template. In general the amp_schemaorg_metadata filter should be used instead.


Parameters #

$metadata

(array) Metadata.

$queried_object

(WP_Post) Post.



Changelog #

Changelog
Version Description
0.3 Introduced.