Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$experiment_type}_backup_control

apply_filters( “nab_{$experiment_type}_backup_control”, array $backup, array $control, int $experiment_id, string $alternative_id )

Fires when an experiment is stopped and a backup of the control version has to be generated.

Parameters

$backup array

(Required) the backup object.

$control array

(Required) original version.

$experiment_id int

(Required) id of the experiment.

$alternative_id string

(Required) id of the current alternative.