Skip to content

Instantly share code, notes, and snippets.

@modemlooper
Created April 29, 2015 15:09
Show Gist options
  • Select an option

  • Save modemlooper/e28ebf619b26308f6eef to your computer and use it in GitHub Desktop.

Select an option

Save modemlooper/e28ebf619b26308f6eef to your computer and use it in GitHub Desktop.
change wp-api url
add_filter( 'rest_url_prefix', function () { return 'wp-rest'; } );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment