Remove schema markup
-
In your FAQs you give the following code to remove the default schema markup:
remove_action( 'amp_post_template_head', amp_post_template_add_schemaorg_metadata' );
It does not appear to work. Here is what I am trying:
add_action( 'amp_post_template_head', 'my_amp_customizations' ); function my_amp_customizations() { remove_action( 'amp_post_template_head', 'amp_print_schemaorg_metadata' ); remove_action( 'amp_post_template_head', 'amp_post_template_add_schemaorg_metadata' ); }
Note that I am trying both:
amp_post_template_add_schemaorg_metadata
andamp_print_schemaorg_metadata
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove schema markup’ is closed to new replies.