apply_filters( 'lifterlms_external_engagement_query_arguments', array $parsed )

Allows 3rd parties to hook into the core engagement system by parsing data passed to the hook.


Parameters Parameters

$parsed

(array) An associative array of parsed data used to trigger the engagement.

  • 'trigger_type'
    (string) (Required) The name of the engagement trigger. See llms_get_engagement_triggers() for a list of valid triggers.
  • 'user_id'
    (int) (Required) The WP_User ID of the user who the engagement is being awarded or sent to.
  • 'related_post_id'
    (int) (Optional) The WP_Post ID of a related post. } @param string $action The name of the hook which triggered the engagement. @param array $args The original arguments provided by the triggering hook


Top ↑

Source Source

File: includes/class.llms.engagements.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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