Removing article:published_time from meta tags

#364449
  • Resolved Wayne Stovall
    Rank Math free

    Hi I am trying to remove the article:published_time from my sites source code. It shows on pages as well as posts. How can I accomplish this?

    [Moved to sensitive data section]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Screenshot here if it did not come through: [Moved to sensitive data section]

    Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math.

    You can add this filter to remove that tag:

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

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Removing article:published_time from meta tags’ is closed to new replies.