graphql_user_can_see_query_logs
apply_filters( 'graphql_user_can_see_query_logs', $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/QueryLog.php
Parameters
$can_see(bool): Whether the requester can see the logs or not
Source
apply_filters( 'graphql_user_can_see_query_logs', $can_see );
Related
QueryLog::user_can_see_logs()inplugins/wp-graphql/src/Utils/QueryLog.php:93