LLMS_Notifications::dispatch_processors()

On shutdown, check for processors that have items in the queue that need to be saved save & dispatch the background process


Description Description


Return Return

(void)


Top ↑

Source Source

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

	public function dispatch_processors() {

		foreach ( $this->processors_to_dispatch as $key => $name ) {

			$processor = $this->get_processor( $name );
			if ( $processor ) {
				unset( $this->processors_to_dispatch[ $key ] );
				$processor->save()->dispatch();
			}
		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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