graphql_user_can_see_trace_data
apply_filters( 'graphql_user_can_see_trace_data', $can_see );
Filter whether the logs can be seen in the request results or not
- Type: filter
- Group: Debugging and Instrumentation
- Since: 0.2.0
- Source File:
plugins/wp-graphql/src/Utils/Tracing.php
Parameters
$can_see(bool): Whether the requester can see the logs or not
Source
apply_filters( 'graphql_user_can_see_trace_data', $can_see );
Related
Tracing::user_can_see_trace_data()inplugins/wp-graphql/src/Utils/Tracing.php:360