0153-filters-graphql-execute-query-params


目录


title: graphql_execute_query_params hookType: filter hookGroup: request-lifecycle plugin: wp-graphql

graphql_execute_query_params

apply_filters( 'graphql_execute_query_params', $params->query ?? '', $params );

Allow the query string to be determined by a filter. Ex, when params->queryId is present, query can be retrieved.

Parameters

Source

apply_filters(
				'graphql_execute_query_params',
				$params->query ?? '',
				$params
			);

版本号 #2
由 壳壳虫 创建于 2026-08-29 15:36:26 UTC
由 壳壳虫 更新于 2026-08-29 15:36:26 UTC