Learnpress_Helpers::__construct()

Learnpress_Helpers constructor.


Source Source

File: src/integrations/learnpress/helpers/learnpress-helpers.php

	public function __construct() {

		$this->load_options = Automator()->helpers->recipe->maybe_load_trigger_options( __CLASS__ );

		add_action( 'wp_ajax_select_section_from_course_LPMARKLESSONDONE', array(
			$this,
			'select_section_from_course_func',
		) );
		add_action( 'wp_ajax_select_lesson_from_section_LPMARKLESSONDONE', array(
			$this,
			'select_lesson_from_section_func',
		) );
		add_action( 'wp_ajax_select_section_from_course_LPMARKLESSONDONE', [
			$this,
			'select_section_from_course_func',
		] );
	}