Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$type}_get_alternative_summary

apply_filters( “nab_{$type}_get_alternative_summary”, array $attributes, int $experiment_id, string $alternative_id )

Filters the experiment attributes that will be passed to front-end script.

Parameters

$attributes array

(Required) Experiment attrs included in front-end script.

$experiment_id int

(Required) id of the experiment.

$alternative_id string

(Required) id of the alternative to apply.