Remove twitter:data1

#549370
  • Resolved Anonymous
    Rank Math free

    hi,
    I just lunched my new website and installed RankMath free version. I am very happy with it!
    Only I noticed that it generates a this meta tag that I absolutely don’t want because it is filled with author-emails (that in my case are the same as author-usernames) and I want to avoid spam.
    I am also ok with filling it with another custom field or with a standard value.

    <meta name=”twitter:data1″ content=”emailadres”>

    I already looked in your knowledge base but can find anything about it.
    Thanks a lot!

    me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    To change the content inside the meta tag: <meta name=”twitter:data1″ content=”emailadres”>

    You may try applying the following filter:

    add_filter( "rank_math/opengraph/slack/twitter_data1", function( $content ) {
    
    	$content = "Your author name here";
    
    	return $content;
    });

    Here’s how you can add filters/hooks to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    thank you so much!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Remove twitter:data1’ is closed to new replies.