• Resolved javadth

    (@javadth)


    HI
    i want to remove this metas for each posts :

    <meta property=”article:published_time” content
    <meta property=”og:updated_time” content=”
    <meta property=”article:modified_time” content=”

    I’m using Rank Math

Viewing 1 replies (of 1 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @javadth,

    Thank you for contacting the support.

    Please add the below filters to your website to remove the required meta tags:

    add_filter( "rank_math/opengraph/facebook/og_updated_time", function( $content ) {
    return null;
    });
    add_filter( "rank_math/opengraph/facebook/article_published_time", function( $content ) {
    return null;
    });
    add_filter( "rank_math/opengraph/facebook/article_modified_time", function( $content ) {
    return null;
    });

    Here’s how you can add the filters: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Please let us know how that goes.

Viewing 1 replies (of 1 total)
  • The topic ‘how to remove og:updated_time, article:published_time?’ is closed to new replies.