apply_filters( 'llms_skip_engagement_processing_checks', boolean $skip_checks, string $type, int $user_id, int $template_id, string $related_id, null|int $engagement_id )

Skip engagement processing checks and force engagements to process.


Description Description

This filter is used internally to skip running checks for immediate engagements which cannot suffer from the issues that these checks seek to avoid.


Top ↑

Parameters Parameters

$skip_checks

(boolean) Whether or not to skip checks.

$type

(string) The engagement type, either "achievement" or "certificate".

$user_id

(int) WP_User ID of the student earning the engagement.

$template_id

(int) WP_Post ID of the template post (llms_achievement or llms_certificate).

$related_id

(string) WP_Post ID of the triggering related post (course, lesson, etc...) or an empty string for user registration.

$engagement_id

(null|int) WP_Post ID of the engagement post used to configure the trigger. A null value maybe be passed for legacy delayed engagements which were created without an engagement ID or when manually awarding via the admin UI. }


Top ↑

Source Source

File: includes/class-llms-engagement-handler.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.