apply_filters( 'lifterlms_get_engagements', object[] $results, string $trigger_type, int $related_post_id )

Filters the list of engagements to be triggered for a given trigger type and related post.


Parameters Parameters

$results

(object[]) Array of engagement objects.

$trigger_type

(string) Name of the engagement trigger.

$related_post_id

(int) WP_Post ID of the related post.


Top ↑

Source Source

File: includes/class.llms.engagements.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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