0177-filters-graphql-map-input-fields-to-wp-query


目录


title: graphql_map_input_fields_to_wp_query hookType: filter hookGroup: connections plugin: wp-graphql

graphql_map_input_fields_to_wp_query

apply_filters( 'graphql_map_input_fields_to_wp_query', $query_args, $where_args, $this->source, $this->get_args(), $this->context, $this->info, $this->post_type );

Filter the input fields This allows plugins/themes to hook in and alter what $args should be allowed to be passed from a GraphQL Query to the WP_Query

Parameters

Source

apply_filters( 'graphql_map_input_fields_to_wp_query', $query_args, $where_args, $this->source, $this->get_args(), $this->context, $this->info, $this->post_type );

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