apply_filters( 'llms_tracking_post_types', string[]|string $post_types )

Filter the post types that should be tracked


Parameters Parameters

$post_types

(string[]|string) An array of post type names or a pre-defined setting as a string. "llms" uses all public LifterLMS and LifterLMS Add-on post types. "all" tracks everything.


Top ↑

Source Source

File: includes/class-llms-events.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
3.36.1 Remove redundant check on is_singular() and is_post_type_archive().
3.36.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.