Skip to content

Commit f72c836

Browse files
committed
Removed query filter.
1 parent 1751f1c commit f72c836

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

plugins/wpgraphql-logging/src/Admin/Settings/Fields/Tab/Basic_Configuration_Tab.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ class Basic_Configuration_Tab implements Settings_Tab_Interface {
3838
*/
3939
public const DATA_SAMPLING = 'data_sampling';
4040

41-
/**
42-
* The field ID for the WPGraphQL query filtering text input.
43-
*
44-
* @var string
45-
*/
46-
public const WPGRAPHQL_FILTERING = 'wpgraphql_filtering';
47-
4841
/**
4942
* The field ID for the user-based logging select.
5043
*
@@ -108,15 +101,6 @@ public function get_fields(): array {
108101
__( 'Log only for admin users.', 'wpgraphql-logging' )
109102
);
110103

111-
$fields[ self::WPGRAPHQL_FILTERING ] = new Text_Input_Field(
112-
self::WPGRAPHQL_FILTERING,
113-
$this->get_name(),
114-
__( 'WPGraphQL Query Filtering', 'wpgraphql-logging' ),
115-
'',
116-
__( 'Comma-separated list of query names or patterns to log. Leave empty to log all queries.', 'wpgraphql-logging' ),
117-
__( 'e.g., GetPost, GetPosts, introspection', 'wpgraphql-logging' )
118-
);
119-
120104
$fields[ self::DATA_SAMPLING ] = new Select_Field(
121105
self::DATA_SAMPLING,
122106
$this->get_name(),

0 commit comments

Comments
 (0)