graphql_root_value
apply_filters( 'graphql_root_value', $root_value, $this );
Return the filtered root value
- Type: filter
- Group: Request Lifecycle
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Request.php
Parameters
$root_value(mixed|RootValueResolver): The root value the Schema should use to resolve with. Default null.$request(\WPGraphQL\Request): The Request instance
Source
apply_filters( 'graphql_root_value', $root_value, $this );
Related
Request::get_root_value()inplugins/wp-graphql/src/Request.php:246