Support » Plugin: Yoast SEO » Remove OG Meta Graphs Data

  • Resolved Krishna Veni


    Hi I want to remove the below tags, but am unable to do.

    <meta property=”article:published_time” content=”2019-02-26T10:12:00+00:00″>
    <meta property=”article:modified_time” content=”2019-02-27T04:43:00+00:00″>

    I have been disabled the facebook OG from Yoast -> Social ->Facebook
    as well as i have added the filter but it still those tage are displaying so please help me thanks

    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’ );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe


    Disabling Facebook and/or using the code mentioned will remove the meta properties when they are output by Yoast SEO. I confirmed these filters are working in the current 10.1.3 version.

    This likely means that the tags are not output by Yoast or something is overriding/ignoring the filters which may be a plugin or theme conflict. Please disable all plugins except Yoast SEO, and use one of the default (Twenty*) themes. If the problem goes away, enable plugins one by one to identify the source of your troubles.

    If you can install plugins, the Health Check & Troubleshooting plugin offers a troubleshooting mode that will disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. Once in the troubleshooting mode, please activate only Yoast SEO and attempt to reproduce the issue you described.

    If you are unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    Plugin Support amboutwe


    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove OG Meta Graphs Data’ is closed to new replies.