Browse Source

old ver of api

windhamdavid 5 years ago
parent
commit
b0bc4eeb9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      inc/utils.php

+ 1 - 1
inc/utils.php

@@ -4,7 +4,7 @@
  * Filter to Run WP REST API v2 Endpoints and Fix double Slash in rest_url
  */
 
-add_filter( 'rest_url_prefix', function () { return 'wp-json/wp/v2'; } );
+//add_filter( 'rest_url_prefix', function () { return 'wp-json/wp/v2'; } );
 
 //add_filter( 'rest_url_prefix', 'fix_json_endpoint' );
 //function fix_json_endpoint (){