Sindbad~EG File Manager
<?php
if (!defined("ABSPATH")) {
exit();
}
/*
|--------------------------------------------------------------------------
| WordPress REST API configuration
|--------------------------------------------------------------------------
|
| Here is where you can set up the WordPress REST API features.
|
*/
return [
// embeded wp-json-server
'wp' => [
'require_authentication' => false, // will affect all routes.
],
// your custom rest api
'custom' => [
'path' => '/api',
'enabled' => true,
],
// authentication
'auth' => [
// embed basic authentication handler
'basic' => true
]
];
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists