Include all required files and classes.

Return Return


Top ↑

Source Source

File: libraries/lifterlms-rest/class-lifterlms-rest-api.php

	public function init() {

		// only load if we have the minimum LifterLMS version installed & activated.
		if ( function_exists( 'LLMS' ) && version_compare( '3.32.0', LLMS()->version, '<=' ) ) {

			// load includes.

			add_action( 'init', array( $this->webhooks(), 'load' ), 6 );



Top ↑

Changelog Changelog

Version Description
1.0.0-beta.8 Load webhooks actions a little bit later: at init 6 instead of init 10, just after all the db tables are created (init 5), to avoid PHP warnings on first plugin activation.
1.0.0-beta.6 Load webhooks actions at init 1 instead of init 10.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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