Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_get_post_types

apply_filters( ‘nab_get_post_types’, array<array{name: )

Filters the list of available post types in A/B tests.

Parameters

(Required) string, label: string, labels: array{singular_name: string}, kind: string}> $data associative array of post types available including a kind property that can be ‘entity’ or ‘form’.