graphql_response_set_headers

Fires an action when the headers are set

do_action( 'graphql_response_set_headers', array $headers );

Params

  • $headers (array): An array containing the response headers

Source

File: wp-graphql/src/Router.php