apply_filters( "nab_{$experiment_type}_did_switch_queried_object", boolean $switch_queried_object , array $alternative , array $control , int $experiment_id , string $alternative_id )
Whether the given experiment switched the queried object or not.
Description
Parameters
- $switch_queried_object
(boolean) (Required) whether the given experiment should trigger a page view. Default:
false
.- $alternative
(array) (Required) the current alternative.
- $control
(array) (Required) original version.
- $experiment_id
(int) (Required) id of the experiment.
- $alternative_id
(string) (Required) id of the current alternative.
Source
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |