Browse: Home / Functions /

learndash_notifications_ensure_scheduled

learndash_notifications_ensure_scheduled()

Activates the add-on when the site has none of the scheduled work that produces.


Description #

Deactivating a standalone copy clears that work, and a site that then starts loading the bundled copy has no activation to put it back.

The recurring event is the signal because it is the one piece a set-up site always has. The other two are absent for ordinary reasons, so watching them would recover on every request.


Return #

(void)


Source #

File: includes/notifications/includes/activation.php


Changelog #

Changelog
Version Description
5.2.0 Introduced.