Skip to content

Instantly share code, notes, and snippets.

@jp1971
Created April 9, 2015 20:34
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 jp1971/0004a3b55d1b96a6a0c5 to your computer and use it in GitHub Desktop.
Save jp1971/0004a3b55d1b96a6a0c5 to your computer and use it in GitHub Desktop.
add_filter( 'timber_context', 'ob_add_to_timber_context' );
function ob_add_to_timber_context( $data ){
// Get Tweets
$data['tweets'] = getTweets( 3, 'obieawards', array( 'include_rts' => true ) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment