mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
14 lines
226 B
PHP
14 lines
226 B
PHP
<?php
|
|
|
|
// Turn off "QL_SESSION_HANDLER" for unit tests.
|
|
define( 'NO_QL_SESSION_HANDLER', true );
|
|
|
|
add_filter(
|
|
'graphql_request_results',
|
|
function( $response ) {
|
|
unset( $response['extensions'] );
|
|
|
|
return $response;
|
|
}
|
|
);
|