wp_graphql_experiment_enabled

apply_filters( 'wp_graphql_experiment_enabled', $is_active, $slug );

Filters whether the experiment is active.

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

Parameters

  • $is_active (bool): Whether the experiment is active.
  • $slug (string): The experiment’s slug.

Source

apply_filters( 'wp_graphql_experiment_enabled', $is_active, $slug );