llms_get_engagement_types()
Get a list of registered engagement types
Return Return
(array)
Source Source
File: includes/llms.functions.core.php
*/
function llms_get_engagement_types() {
/**
* Filter the engagement types
*
* @since Unknown
*
* @param array $engagement_types An associative array of engagement types. Keys are the engagement type slugs, values are their description.
*/
return apply_filters(
'lifterlms_engagement_types',
array(
'achievement' => __( 'Award an Achievement', 'lifterlms' ),
'certificate' => __( 'Award a Certificate', 'lifterlms' ),
'email' => __( 'Send an Email', 'lifterlms' ),
)
);
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |