Filter whether the logs can be seen in the request results or not Params $can_see (bool): Whether the requestor can see the logs or not
Post Type Archives: Filters
graphql_term_object_insert_term_args
Filter the $insert_args Params $insert_args (array): The array of input args that will be passed to the functions that insert terms $input (array): The data that was entered as input for the mutation $taxonomy (WP_Taxonomy): The taxonomy object of the term being mutated $mutation_name (string): The name of the mutation being performed (create, edit, etc)
graphql_map_input_fields_to_get_terms
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 get_terms query. Params $query_args (array): Array of mapped query args $where_args (array): Array of query “where” args $taxonomy (string): The name of the taxonomy $source (mixed): The query results …
graphql_term_object_connection_query_args
Filter the query_args that should be applied to the query. This filter is applied AFTER the input args from the GraphQL Query have been applied and has the potential to override the GraphQL Query Input Args. Params $query_args (array): array of query_args being passed to the $source (mixed): source passed down from the resolve tree …
Continue reading “graphql_term_object_connection_query_args”
graphql_settings_sections
Filter the settings sections Params $settings_sections (array): The registered settings sections
graphql_setting_field_config
Filter the setting field config Params $field_config (array): The field config for the setting $field_name (string): The name of the field (unfilterable in the config) $section (string): The slug of the section the field is registered to
graphql_response_status_code
Filter the $status_code before setting the headers Params $http_status_code (int): The status code to apply to the headers $response (array): The response of the GraphQL Request $graphql_results (array): The results of the GraphQL execution $query (string): The GraphQL query $operation_name (string): The operation name of the GraphQL Request $variables (array): The variables applied to the …
graphql_response_headers_to_send
Filter the $headers to send Params $headers (array): Array of headers to filter
graphql_send_nocache_headers
Filter to determine if nocache headers are sent on authenticated requests. Params $send_headers (bool): If the headers should be sent, defaults to the return value of is_user_logged_in()
graphql_access_control_allow_headers
Filtered list of access control headers Params $access_control_headers (array): Array of headers to allow