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.



Return Return


Top ↑

Source Source

File: includes/notifications/class.llms.notifications.php

	private function __construct() {


		if ( ! is_admin() ) {
			add_action( 'wp', array( $this, 'enqueue_basic' ) );
			add_action( 'wp_print_footer_scripts', array( $this, 'mark_displayed_basics_as_read' ) );

		add_action( 'shutdown', array( $this, 'schedule_processors_dispatch' ) );
		add_action( 'llms_dispatch_notification_processor_async', array( $this, 'dispatch_processor_async' ) );


Top ↑

Changelog Changelog

Version Description
6.0.0 Do not load / enqueue basic notifications on the admin panel. Removed the deprecated llms_processors_async_dispatching filter hook.
3.38.0 Schedule processors using an async scheduled action.
3.36.1 Record basic notifications as read during wp_print_footer_scripts.
3.22.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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