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_Notification_View_Certificate_Earned::set_merge_data_student_name( LLMS_User_Certificate $cert )

Get merge data for the {{STUDENT_NAME}} merge code.

Parameters Parameters


(LLMS_User_Certificate) (Required) Earned certificate object.

Top ↑

Return Return


Top ↑

Source Source

File: includes/notifications/views/class.llms.notification.view.certificate.earned.php

	private function set_merge_data_student_name( $cert ) {
		return $this->is_for_self() ? __( 'you', 'lifterlms' ) : $this->user->get_name();

Top ↑

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.