Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_is_preview_browsing_enabled

apply_filters( ‘nab_is_preview_browsing_enabled’, boolean $is_browsing_enabled, string $experiment_type )

Filters whether user should be able to browse site on preview mode or not.

Parameters

$is_browsing_enabled boolean

(Required) Whether site browsing is enabled on preview mode. Default: false.

$experiment_type string

(Required) Type of the experiment.