function loadInstagram() { if (function_exists('get_field') && get_field('options_instagram_userID', 'option') && get_field('options_instagram_clientID', 'option')) { $user_id = get_field('options_instagram_userID', 'option'); $client_id = get_field('options_instagram_clientID', 'option'); } else { return; } $content = pull_instagram($user_id, $client_id, '', false); die($content); }
<?php pull_instagram('258284433', 'd93b5d133c354946845bece40ea08617', '1'); $TweetPHP = new TweetPHP(); echo $TweetPHP->get_tweet_list();