Warning: This method has been deprecated. Deprecated in favor of async dispatching via LLMS_Notifications::schedule_processors_dispatch() instead.
LLMS_Notifications::dispatch_processors()
On shutdown, check for processors that have items in the queue that need to be saved
Description Description
Saves & dispatches those processors.
Return Return
(void)
Source Source
File: includes/notifications/class.llms.notifications.php
/** * Enqueue basic notifications for onscreen display. * * @since 3.22.0 * @since 3.36.1 Don't automatically mark notifications as read. * @since 3.38.0 Use `wp_json_decode()` in favor of `json_decode()`. * @since 4.4.0 Use `LLMS_Assets::enqueue_inline()` in favor of deprecated `LLMS_Frontend_Assets::enqueue_inline_script()`. * @since 7.1.0 Improve notifications query performance by not calculating unneeded found rows. * * @return void */ public function enqueue_basic() {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.38.0 | Deprecated in favor of async dispatching via LLMS_Notifications::schedule_processors_dispatch() . |
4.6.0 | Use llms_deprecated_function() in favor of llms_log() . |
3.8.0 | Introduced. |