//function PLGNTLS_fetch(url, options = {}) { export function PLGNTLS_fetch(url, options = {}) { console.log("inside PLGNTLS_fetch"); url = PLGNTLS_data.fetch_url + url; options.headers = options.headers || {}; options.headers['X-WP-Nonce'] = PLGNTLS_data.fetch_nonce, console.log("options:", options); return fetch(url, options); }