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.
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
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.3 | Introduced. |