Best way to make a JSON API from WordPress?
I dont know how to edit question, I found this: but this way I cannot specify my requests, is there any way to modify this code so that I can specify it? function check_api_data() { if(isset($_GET[‘api’]) ) { if ($_GET[‘api’] == ‘json’){ $args = array( ‘post_status’ => ‘publish’, ‘nopaging’ => true, ‘orderby’ => ‘title’, ‘order’ … Read more