Warning: This method has been deprecated. LLMS_Certificate_User::set_shortcode_user() is deprecated with no replacement instead.
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_Certificate_User::set_shortcode_user( int $uid )
Set the user ID used by [llms-user] to the user earning the certificate.
Parameters Parameters
- $uid
-
(int) (Required) WP_User ID of the current user.
Return Return
(int)
Source Source
File: includes/certificates/class.llms.certificate.user.php
private function set_shortcode_user( $uid ) { return $this->userid; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | LLMS_Certificate_User::set_shortcode_user() is deprecated with no replacement. |
5.0.0 | Introduced. |