function __construct() { parent::__construct(); // This should be done by the bootstrap script but just in case. if (!isset($GLOBALS['arrFetchTweets_oEmbed'])) { $GLOBALS['arrFetchTweets_oEmbed'] = array(); } }
function __construct() { parent::__construct(); // This should be done by the bootstrap script but just in case. if (!isset($GLOBALS['arrFetchTweets_oEmbed'])) { $GLOBALS['arrFetchTweets_oEmbed'] = array(); } // Apply a fix for recent Instagram's image url format change. add_filter('oembed_result', array($this, 'sanitizeOEmbedResult'), 10, 3); }