graphql_experimental_features_cap
apply_filters( 'graphql_experimental_features_cap', 'manage_options' );
Filters the capability required to turn experimental features on and off.
- Type: filter
- Group: Settings and Admin
- Since: 2.3.8
- Source File:
plugins/wp-graphql/src/Experimental/ExperimentRegistry.php
Parameters
$capability(string): The capability required to turn experimental features on and off. Defaults tomanage_options.
Source
apply_filters( 'graphql_experimental_features_cap', 'manage_options' );
Related
ExperimentRegistry::capability()inplugins/wp-graphql/src/Experimental/ExperimentRegistry.php:115