graphql_query_id_hash_algorithm
apply_filters( 'graphql_query_id_hash_algorithm', 'sha256' );
Filter the hash algorithm to allow different algorithms.
- Type: filter
- Group: Request Lifecycle
- Since: 0.0.2
- Source File:
plugins/wp-graphql/src/Utils/Utils.php
Parameters
$algorithm(string): Default is sha256. Possible values are those that work with the PHP hash() function. See: https://www.php.net/manual/en/function.hash-algos.php
Source
apply_filters( 'graphql_query_id_hash_algorithm', 'sha256' );
Related
Utils::get_query_id()inplugins/wp-graphql/src/Utils/Utils.php:26