LLMS_Install::create_cron_jobs()

Create LifterLMS cron jobs


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.install.php

	public static function create_cron_jobs() {

		if ( ! wp_next_scheduled( 'llms_cleanup_tmp' ) ) {
			wp_schedule_event( time(), 'daily', 'llms_cleanup_tmp' );
		}

		if ( ! wp_next_scheduled( 'llms_send_tracking_data' ) ) {
			wp_schedule_event( time(), apply_filters( 'llms_tracker_schedule_interval', 'daily' ), 'llms_send_tracking_data' );
		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: