-
-
Save monecchi/3913de82caf9d26a0a5853e2d7eec1f8 to your computer and use it in GitHub Desktop.
Remove Date Meta Tags Output by Yoast SEO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
/* Remove Date Meta Tags Output by Yoast SEO | |
* Credit: Yoast development team | |
* Last Tested: Mar 01 2017 using Yoast SEO 4.4 on WordPress 4.7.2 | |
*/ | |
add_action('wpseo_dc_'.'DC.date.issued', '__return_false'); // Premium only | |
add_filter( 'wpseo_og_article_published_time', '__return_false' ); | |
add_filter( 'wpseo_og_article_modified_time', '__return_false' ); | |
add_filter( 'wpseo_og_og_updated_time', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment