graphql_authentication_errors

apply_filters( 'graphql_authentication_errors', null, self::get_request() );

Allow plugins to prevent the downgrade via the graphql_authentication_errors filter.

  • Type: filter
  • Group: Authentication and Authorization
  • Since: 0.0.5
  • Source File: plugins/wp-graphql/src/Router.php

Parameters

  • $authentication_errors (bool|null): Null to allow default behavior, false to preserve auth.
  • $request (\WPGraphQL\Request|null): The Request instance (null in Router context).

Source

apply_filters( 'graphql_authentication_errors', null, self::get_request() );