How to disable WP JSON Rest API in WordPress without plugin? | 2022
WordPress tutorial: Is your username exposed on your WordPress website? If yes, then this could be a security threat, thus in this video, we will learn how you can disable WP Json Rest API without using any plugins but some simple codes.
By default, WordPress exposes the username to your website simply by going to a specific website URL (provided below). If the username is exposed, it will make it a lot easier for the hackers to hack into the website compared to those whose username is not exposed. Anyway, simply use the following code to give a 404 status error or disable JSON rest API in your WordPress website.
Get 40% Off WP Rocket – Speed Up Your WordPress Website with WP Rocket
QR to redirect iOS users to the App Store and Android users to the Google Play Store?
I installed a nulled WordPress Enfold theme