Created
November 23, 2016 12:00
-
-
Save ymauray/365d21a2d04c44cbe326ac7c0b7e8ffb 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
<?php | |
$api_request = 'http://.......'; | |
$api_response = wp_remote_get( $api_request ); | |
$api_data = json_decode( wp_remote_retrieve_body( $api_response ), true ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment