Shows an admin welcome notice.

Return Return


Top ↑

Source Source

File: includes/functions/updates/llms-functions-updates-600.php

function show_notice() {

	$notice_id = sprintf( 'v%s-welcome-msg', str_replace( array( '.', '-' ), '', _get_db_version() ) );

	$get_started_link = admin_url( 'post-new.php?post_type=llms_certificate' );

	$html = sprintf(
		__( 'Welcome to LifterLMS 6.0.0!', 'lifterlms' ),
		__( "This new version brings you the power to build and customize certificates using the WordPress block editor! Start building beautiful certificates using all the blocks you're already familiar, the new Certificate Title block, and new certificate settings like page size (Letter or A4, for example), orientation, background color, and more. In addition to design features, this version also adds the ability to modify already-awarded certificates and achievements and to sync template updates with the click of a button.", 'lifterlms' ),
			// Translators: %1$s = Opening anchor tag to Forms admin page; %2$s = Closing anchor tag.
			__( '%1$sGet Started%2$s', 'lifterlms' ),
			'<a class="button-primary" href="' . esc_url( $get_started_link ) . '" >',
		) . ' ' .
			// Translators: %1$s = Opening anchor tag to the welcome blog post on; %2$s = Closing anchor tag.
			__( '%1$sRead More%2$s', 'lifterlms' ),
			'<a class="button" href="" target="_blank" rel="noopener">',

			'type'             => 'success',
			'dismiss_for_days' => 0,
			'remindable'       => false,
	return false;


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.