Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

llms_earned_engagement_deprecated_template( string $val, LLMS_User_Certificate|LLMS_User_Achievement $obj )

Backwards compatibility for the deprecated earned engagement template meta keys.


Description Description

This public function is intentionally marked as private to denote it’s temporary lifespan. This function will be removed in the next major release when the associated meta key is also fully removed.


Top ↑

Parameters Parameters

$val

(string) (Required) Default value (an empty string).

$obj

(LLMS_User_Certificate|LLMS_User_Achievement) (Required) User engagement object.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/functions/llms-functions-deprecated.php

function llms_earned_engagement_deprecated_template( $val, $obj ) {
	_llms_earned_engagement_deprecated_function( $obj, 'template', 'the WP_Post object property "post_parent"' );
	return $obj->get( 'parent' );
}


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.