wp_graphql_experiment_config

apply_filters( 'wp_graphql_experiment_config', $config, $slug );

Filters the experiment configuration.

  • Type: filter
  • Group: Settings and Admin
  • Since: 2.5.0
  • Source File: plugins/wp-graphql/src/Experimental/Experiment/AbstractExperiment.php

Parameters

  • $config (array{title:string,description:string}): The experiment configuration.
  • $slug (string): The experiment’s slug.

Source

apply_filters( 'wp_graphql_experiment_config', $config, $slug );