Created
April 9, 2015 20:34
-
-
Save jp1971/0004a3b55d1b96a6a0c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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