Use Localize Script For WP REST API Requests
When developing a single page app with the WP REST API we often have different URLs where we pull data. Typically I’m developing locally with a .test domain and working with a separate demo site on my live server. On … Continue Reading Use Localize Script For WP REST API Requests