Disable show WP version – by rainbw

By default, there is in source code a tag calle d”generator” where show the WP version. This are used for any hacker ot bot to get really usefull information when they are watching you to hack your wordpress. Add to functions.php of your theme / child theme

Disable WP Users Listing but enable only for Admins

Add code snippet to functions.php of your theme (chid theme preferible) This code will show a message like next one for not logged users:{“code”:”rest_not_logged_in”,”message”:”You are not currently logged in.”,”data”:{“status”:401}} Complete Disable WP REST API You can completely disable REST API if you will not edit posts or pages (will faill when create or edit, simply … Read more