LLMS_Processor_Table_To_Csv::init()

Initializer


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/processors/class.llms.processor.table.to.csv.php

	protected function init() {

		add_filter( $this->identifier . '_cron_interval', array( $this, '_healthcheck_interval' ) );

		// for the cron
		add_action( $this->schedule_hook, array( $this, 'dispatch_generation' ), 10, 3 );

		// for LifterLMS actions which trigger export
		$this->actions = array(
			'llms_table_generate_csv' => array(
				'arguments' => 1,
				'callback' => 'schedule_generation',
				'priority' => 10,
			),
		);

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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