LLMS_Reviews::__construct()
This is the constructor for this class. 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
Contents
Return Return
(void)
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' ) ); }
Expand full source code Collapse full source code View on GitHub