Sometimes you want to remove some metabox of the edit page. Place the following code into you functions.php file.
Category: Wordpress Programming
How to disable WordPress REST API to not logged in user without a plugin
I think it should be disabled to not logged in users by default. Anyway, here you have the code to place in functions.php : JSON Rest is enabled public by default, and it's used by V5 new WP editor. You can disable it and install the Classic Editor Plugin and disable API for non locahost. … Continue reading How to disable WordPress REST API to not logged in user without a plugin