Now, you can get your website url without getEnvValue function:
getEnvValue
In PHP
<?php echo getWebsiteUrl(); ?>
In JS
console.log(window.WEBSITE_URL);
Last updated 3 months ago