Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org


Fire an action before the field resolves


  • $result (mixed): The result of the field resolution
  • $source (mixed): The source passed down the Resolve Tree
  • $args (array): The args for the field
  • $context (AppContext): The AppContext passed down the ResolveTree
  • $info (ResolveInfo): The ResolveInfo passed down the ResolveTree
  • $type_name (string): The name of the type the fields belong to
  • $field_key (string): The name of the field
  • $field (FieldDefinition): The Field Definition for the resolving field
  • $field_resolver (mixed): The default field resolver