You are here: WTF » Documentation » Extended Functionality Methods »

Latest Tweet

Latest Tweet

WTF provides you with a simple way to add your latest tweet from Twitter to your WordPress site. This is very popular and you will see it on a lot of blogs. To use the Latest Tweet function add the following code anywhere in you site:

<?php if(function_exists('wtf_latest_tweet')) echo wtf_latest_tweet('twitter_id'); ?>

Note in the above example I am passing in an example Twitter ID string.

Advanced

This method takes one argument:

wtf_latest_tweet($twitter_id);
  • $twitter_id
    • Description – This is a Twitter ID.