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::get_mini_html( string $title )

Get the HTML for the mini certificate preview.


Parameters Parameters

$title

(string) (Required) The (merged) certificate title.


Top ↑

Return Return

(string)


Top ↑

Source Source

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

	private function get_mini_html( $title ) {
		ob_start();
		?>
		<div class="llms-mini-cert">

			<h2 class="llms-mini-cert-title"><?php echo $title; ?></h2>

			<div class="llms-mini-cert--body ">
				<div class="llms-mini-cert--mock-line"></div>
				<div class="llms-mini-cert--mock-line"></div>
				<div class="llms-mini-cert--mock-line"></div>

				<div class="llms-mini-cert--mock-line"></div>
				<div class="llms-mini-cert--mock-line"></div>

				<div class="llms-mini-cert--mock-dot"></div>
				<div class="llms-mini-cert--mock-line"></div>
			</div>

		</div>
		<?php
		return ob_get_clean();

	}


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.