Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Remove generator meta tag for WordPress AMP Plugin

This is how to remove the Generator Meta Tag for the WordPress AMP Plugin. This refers to the WP AMP plugin by Automattic.

Use the below example code in your theme’s functions.php file to Remove Generator Meta tag for WordPress AMP Plugin.

// Remove AMP generator meta tag.
add_action( 'amp_post_template_head', 'isa_remove_amp_generator_meta_tag', 2 );
function isa_remove_amp_generator_meta_tag() {
    remove_action( 'amp_post_template_head', 'amp_add_generator_metadata' ); 
}

The post Remove generator meta tag for WordPress AMP Plugin appeared first on FreeWebMentor.



This post first appeared on Programming Blog Focused On Web Technologies, please read the originial post: here

Share the post

Remove generator meta tag for WordPress AMP Plugin

×

Subscribe to Programming Blog Focused On Web Technologies

Get updates delivered right to your inbox!

Thank you for your subscription

×