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