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.
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.notices.core.php
if ( $screen && 'admin_page_llms-course-builder' === $screen->id ) {
remove_all_actions( 'admin_notices' ); // 3rd party notices.
remove_action( 'admin_print_styles', array( 'LLMS_Admin_Notices', 'output_notices' ) ); // Notices output by LifterLMS.
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.14.7 | Introduced. |