

Settings > REST Lock: choose a mode, list routes with wildcards, restrict roles and hide user and route listings.
WordPress exposes a public REST API at /wp-json/. Anyone can list your users, your installed plugins’ endpoints and your content. Birim REST Lock closes it without breaking your site.
/wp/v2/posts* covers /wp/v2/posts and /wp/v2/posts/123./wp/v2/users.Link header and RSD.OPTIONS) requests pass through, so token logins keep working.birim_rest_lock_blocked filter: ( bool $blocked, string $route, WP_REST_Request $request ) to override the decision.birim_rest_lock_message filter: change the error message.