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 to manage_options.

Source

apply_filters( 'graphql_experimental_features_cap', 'manage_options' );