Files
old-v2-backend/wordpress/wp-content/themes/saburly-headless/inc/frontend-origin.php

13 lines
297 B
PHP

<?php
/**
* Placeholder function for determining the frontend origin.
*
* @TODO Determine the headless client's URL based on the current environment.
*
* @return str Frontend origin URL, i.e., http://localhost:3000.
*/
function get_frontend_origin() {
return 'http://localhost:3000';
}