Title: Remove Yoast date meta article:published_time
Last modified: August 30, 2016

---

# Remove Yoast date meta article:published_time

 *  Resolved [josepal101](https://wordpress.org/support/users/josepal101/)
 * (@josepal101)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/remove-yoast-date-meta-articlepublished_time/)
 * Hi, someone can help me to remove the <meta property=”article:published_time”
   content=”xxxx” />. Its added to articles when i activate the yoast plugin.
 * I tried to unselect options in yoast admin panel, to add add_filter( ‘wpseo_show_date_in_snippet’,’
   __return_false’); to functions.php and this meta still appear, the only way is
   dectivate the yoast plugin 🙁
 * Thanks a lot for the help!!
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [AskKim](https://wordpress.org/support/users/askkim/)
 * (@askkim)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/remove-yoast-date-meta-articlepublished_time/#post-6746986)
 * A filter* is available to remove or modify each OpenGraph tag. See the code in
   og_tag function in class-opengraph.php to find the correct filter names.
 * A fellow user provided an example of how to use a filter here. [https://github.com/Yoast/wordpress-seo/issues/1595#issuecomment-119364501](https://github.com/Yoast/wordpress-seo/issues/1595#issuecomment-119364501)
 * Warning: The code may be outdated or invalid. And as always, please backup your
   site before making any changes.
 * * Filters are intended for advanced users and developers.
 * ~ Kim ~
    Support at Yoast
 *  Thread Starter [josepal101](https://wordpress.org/support/users/josepal101/)
 * (@josepal101)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/remove-yoast-date-meta-articlepublished_time/#post-6747037)
 * Yes this code:
 * 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’ );
 * worked like a charm, now zero metas on [http://www.mercedesdantes.com](http://www.mercedesdantes.com)
   really thanks for your help!!
 *  [gnfb](https://wordpress.org/support/users/gnfb/)
 * (@gnfb)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-yoast-date-meta-articlepublished_time/#post-6747248)
 * This may be the answer to my problem but where do I add the “filters” ?
 *  [intrepidweb](https://wordpress.org/support/users/intrepidweb/)
 * (@intrepidweb)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-yoast-date-meta-articlepublished_time/#post-6747252)
 * Filters should be placed in your functions.php file.
 * I’m wondering if there is a way to only apply a filter to specific posts. I tried
   using get_the_ID() in my functions.php file and it doesn’t seem to work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove Yoast date meta article:published_time’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [remove date](https://wordpress.org/support/topic-tag/remove-date/)

 * 4 replies
 * 4 participants
 * Last reply from: [intrepidweb](https://wordpress.org/support/users/intrepidweb/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/remove-yoast-date-meta-articlepublished_time/#post-6747252)
 * Status: resolved