LLMS_Engagements::handle_achievement( array $args )
Award an achievement
Description Description
This is called via do_action() by the ‘maybe_trigger_engagement’ function in this class.
Parameters Parameters
- $args
-
(Required) Indexed array of args. 0 => WP User ID 1 => WP Post ID of the email post 2 => WP Post ID of the related post that triggered the award
Return Return
(void)
Source Source
File: includes/class.llms.engagements.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |