Hooks / nab_disable_split_testing

apply_filters( 'nab_disable_split_testing' )

Whether the current request should be split tested or not.

Description

If it’s split tested, hooks for loading alternative content and tracking events will be set. Otherwise, the public facet of Nelio A/B Testing will be disabled.

Notice. Our plugin uses JavaScript to load alternative content. Be careful when limiting tests in PHP, as it’s possible that your cache or CDN ends up caching these limitations and, as a result, none of your visitors are tested.

Return

(boolean) whether the current request should be split tested or not.

Source

File: includes/utils/functions/helpers.php

Changelog

Changelog
Version Description
5.0.0 Introduced.