apply_filters( "llms_earned_{$type}_dupcheck", boolean $is_duplicate )

Filters whether or not the given user has already earned a certificate or achievement.

Description Description

The dynamic portion of this hook, {$type}, refers to the type of engagement, either "achievement" or "certificate".

This filter should return true or a WP_Error to denote the certificate has already been earned and false to denote that it has not.

If true is returned the default error message will be used.

Top ↑

Parameters Parameters


(boolean) Whether or not the engagement has already been earned.

Top ↑

Source Source

File: includes/class-llms-engagement-handler.php

View on GitHub

Top ↑

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.