Disable REST API
Disable REST API restricts WordPress REST API access for non-authenticated users while keeping it functional for logged-in users and admin operations. The REST API exposes data endpoints that some sites do not need publicly accessible. This module blocks unauthenticated API requests, preventing data enumeration and reducing attack surface. Authenticated users and admin operations that require the API continue to work normally.