0280-filters-wp-graphql-experiment-config
title: wp_graphql_experiment_config hookType: filter hookGroup: settings plugin: wp-graphql
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 );
Related
AbstractExperiment::prepare_config()inplugins/wp-graphql/src/Experimental/Experiment/AbstractExperiment.php:376
这篇文档对你有帮助吗?
谢谢你的反馈!