[insert_php]
$url=”https://api.planningalerts.org.au/applications.js?key=7AUekQKJWKuoDZze79dF&postcode=2611;
$content = file_get_contents($url);
$array = json_decode(json_encode((array)simplexml_load_string($content)),1);
echo ‘
';
echo print_r($array);[/insert_php]
[insert_php]
echo 'Server date and time is: ';
echo date('l, F j, Y \a\t G:i:s');
[/insert_php]
[insert_php]
$response = wp_remote_get( 'https://api.github.com/users/blobaugh' );
[/insert_php]