apply_filters(
'rest_authentication_errors',
... )
Filters REST API authentication errors.
Parameters:
$errors
WP_Error | null | true