PHP

How to Disable WP JSON Rest API in WordPress without plugin ?

just add below code in wordpress theme function.php file at the bottom ————————————————– Add the following code to functions.php (anyone)