Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$experiment_type}_remove_alternative_content

do_action( “nab_{$experiment_type}_remove_alternative_content”, object $attributes, int $experiment_id, string $alternative_id )

Fires when an alternative is being removed.

Parameters

$attributes object

(Required) attributes of this alternative

$experiment_id int

(Required) ID of this experiment

$alternative_id string

(Required) ID of the alternative we want to clean