Skip to content

Instantly share code, notes, and snippets.

@spencermorin
Last active August 29, 2015 13:56
Show Gist options
  • Save spencermorin/8938840 to your computer and use it in GitHub Desktop.
Save spencermorin/8938840 to your computer and use it in GitHub Desktop.
<?php
function my_add_twitter_card_extras( $tags ) {
$tags[ 'twitter:site' ] = 'automattic'; // set @username of website
return $tags;
}
add_filter( 'jetpack_open_graph_tags', 'my_add_twitter_card_extras' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment