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
-
Metadata.
- $queried_object
-
Post.