How to add and use a custom php script to WordPress REST API?
I have customized the WordPress rest API A bit and added the customization under functions.php. Currently, under ({{site}}/wp-content/themes/my-theme/js/Ajaxcall.js) I have a JS function that is […]