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. Seellms_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
- 'trigger_type'
Source Source
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |