Adding Saburly Headless WP theme inspired by postlights serverless solution

This commit is contained in:
Moris Zen
2018-06-25 00:06:37 +02:00
parent f069f6782f
commit 9d7f3de76a
12 changed files with 431 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?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';
}