LLMS_Reviews::__construct()

This is the constructor for this class.


Description Description

It takes care of attaching the functions in this file to the appropriate actions.
These actions are: 1) Output after course info.
2) Output after membership info.
3 & 4) Add function call to the proper AJAX call.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.review.php

	public function __construct() {
		add_action( 'wp_ajax_LLMSSubmitReview', array( $this, 'process_review' ) );
		add_action( 'wp_ajax_nopriv_LLMSSubmitReview', array( $this, 'process_review' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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