LLMS_Controller_Certificates::__construct()
Constructor.
Contents
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.certificates.php
public function __construct() {
parent::__construct();
add_filter( 'lifterlms_register_post_type_certificate', array( $this, 'maybe_allow_public_query' ) );
add_action( 'init', array( $this, 'maybe_handle_reporting_actions' ) );
add_action( 'wp', array( $this, 'maybe_authenticate_export_generation' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.5.0 | Drop usage of deprecated lifterlms_register_post_type_llms_certificate in favor of lifterlms_register_post_type_certificate. |
| 3.37.4 | Add filter hook for lifterlms_register_post_type_llms_certificate. |
| 3.18.0 | Introduced. |