Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$experiment_type}_heatmap_link_alternative

apply_filters( “nab_{$experiment_type}_heatmap_link_alternative”, mixed $heatmap_link, array $alternative, array $control, int $experiment_id, string $alternative_id )

Filters the heatmap link of the given alternative.

Parameters

$heatmap_link mixed

(Required) link for viewing the heatmaps of the given alternative. Default: false.

$alternative array

(Required) current alternative.

$control array

(Required) original version.

$experiment_id int

(Required) id of the experiment.

$alternative_id string

(Required) id of the current alternative.