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_function( LLMS_User_Certificate|LLMS_User_Achievement $obj, string $meta_key, string $replacement_msg )
Throw a deprecated function warning for earned engagement meta deprecations.
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.
Parameters Parameters
- $obj
-
(LLMS_User_Certificate|LLMS_User_Achievement) (Required) User engagement object.
- $meta_key
-
(string) (Required) Deprecated meta key part (excluding the prefix and post type).
- $replacement_msg
-
(string) (Required) The replacement message.
Return Return
(void)
Source Source
File: includes/functions/llms-functions-deprecated.php
function _llms_earned_engagement_deprecated_function( $obj, $meta_key, $replacement_msg ) { $classname = get_class( $obj ); $keyname = strtolower( str_replace( 'LLMS_User_', '', $classname ) ) . '_' . $meta_key; _deprecated_function( "{$classname} meta key '{$keyname}'", '6.0.0', $replacement_msg ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |