graphql_response_set_headers

do_action( 'graphql_response_set_headers', $headers );

Fire an action when the headers are set

  • Type: action
  • Group: Request Lifecycle
  • Since: 0.0.5
  • Source File: plugins/wp-graphql/src/Router.php

Parameters

  • $headers (array<string,string>): The headers sent in the response

Source

do_action( 'graphql_response_set_headers', $headers );