apply_filters( "nab_{$experiment_type}_apply_alternative", boolean $applied , array $alternative , array $control , int $experiment_id , string $alternative_id )
Filter to apply the given alternative.
Description
Parameters
- $applied
(boolean) (Required) whether the alternative was properly applied or not. Default:
false
.- $alternative
(array) (Required) alternative to apply.
- $control
(array) (Required) original version.
- $experiment_id
(int) (Required) id of the experiment.
- $alternative_id
(string) (Required) id of the alternative to apply.
Source
File: includes/experiments/class-nelio-ab-testing-experiment.php
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |