Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$experiment_type}_alternative_post_attribute

apply_filters( “nab_{$experiment_type}_alternative_post_attribute”, boolean|string $alt_post_attr )

Filters the name of the attribute (if any) that contains an alternative post ID. If none, return false.

Parameters

$alt_post_attr boolean|string

(Required) name of the attribute that contains an alternative post ID. false otherwise.

Source

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

Changelog

Changelog
VersionDescription
5.2.7Introduced.