Skip to content

Instantly share code, notes, and snippets.

@davisshaver
Last active September 2, 2017 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davisshaver/ee67ee4ff99438beb2ebcea68041d2fa to your computer and use it in GitHub Desktop.
Save davisshaver/ee67ee4ff99438beb2ebcea68041d2fa to your computer and use it in GitHub Desktop.
Do not track mode for Twitter embeds – WordPress function
<?php
add_action( 'wp_head', function() {
echo '<meta name="twitter:dnt" content="on">';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment