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.


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/certificates/class.llms.certificate.user.php

	private function set_shortcode_user( $uid ) {
		return $this->userid;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 LLMS_Certificate_User::set_shortcode_user() is deprecated with no replacement.
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.