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.

Description

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

Source

File: includes/experiments/class-nelio-ab-testing-experiment.php

Changelog

Changelog
VersionDescription
5.0.0Introduced.