Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$experiment_type}_disable_experiment_in_url

apply_filters( “nab_{$experiment_type}_disable_experiment_in_url”, boolean $is_disabled, int $experiment_id, string $url )

Filters whether a certain experiment should be disabled for the current request.

Parameters

$is_disabled boolean

(Required) whether the given experiment should be disabled or not.<br> Default: false.

$experiment_id int

(Required) the ID of the experiment.

$url string

(Required) the URL of the current request.