Hooks / nab_simulate_anonymous_visitor

apply_filters( 'nab_simulate_anonymous_visitor', boolean $anonymize )

Simulates an anonymous visitor.

Description

When set to true, Nelio A/B Testing will set the current user to an anonymous (non-logged-in) user. This way, the web will look as if an anonymous users were browsing the site.

Parameters

$anonymize

(boolean) (Required) whether the user should be set to an anonymous user or not. Default: false.

Source

File: public/class-nelio-ab-testing-public.php

Changelog

Changelog
Version Description
5.0.0 Introduced.