LLMS_Achievements::trigger_engagement( int $person_id, int $achievement_id, int $related_post_id )

Award an achievement to a user

Description Description

Calls trigger method passing arguments.

Top ↑

Parameters Parameters


(int) (Required) [ID of the current user]


(int) (Required) [Achievement template post ID]


(int) (Required) Post ID of the related engagement (eg lesson id)

Top ↑

Return Return


Top ↑

Source Source

File: includes/class.llms.achievements.php

		$query = new WP_Query( $query_args );

		$achievements = array();

Top ↑

Changelog Changelog

Version Description
?? Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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