graphql_custom_scalar_config
apply_filters( 'graphql_custom_scalar_config', $config, $type_registry );
Filters scalar type configuration before the scalar is registered.
- Type: filter
- Group: Schema Registration
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Type/WPScalar.php
Parameters
$config(array<string,mixed>): The scalar type configuration.$type_registry(\WPGraphQL\Registry\TypeRegistry): The type registry instance.
Source
apply_filters( 'graphql_custom_scalar_config', $config, $type_registry );
Related
WPScalar::__construct()inplugins/wp-graphql/src/Type/WPScalar.php:75