LLMS_Admin_Notices_Core::clear_sidebar_notice()

Removes the current sidebar notice (if present) and clears notice delay transients


Description Description

Called when theme is switched.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.notices.core.php

	public static function clear_sidebar_notice() {
		if ( LLMS_Admin_Notices::has_notice( 'sidebars' ) ) {
			LLMS_Admin_Notices::delete_notice( 'sidebars' );
		} else {
			delete_transient( 'llms_admin_notice_sidebars_delay' );
		}
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.14.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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