Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_javascript_previewer_is_url_in_scope

apply_filters( ‘nab_javascript_previewer_is_url_in_scope’, boolean $enabled, string $url, Nelio_AB_Testing_Experiment $experiment )

Filters whether the test is in scope or not.

Parameters

$enabled boolean

(Required) whether the test is in scope or not.

$url string

(Required) current URL.

$experiment Nelio_AB_Testing_Experiment

(Required) current test.