LLMS_Controller_Certificates::maybe_handle_reporting_actions()
Handle certificate form actions to download (for students and admins) and to delete (admins only)
Description Description
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.certificates.php
public function maybe_handle_reporting_actions() { if ( ! llms_verify_nonce( '_llms_cert_actions_nonce', 'llms-cert-actions' ) ) { return; } $cert_id = absint( $_POST['certificate_id'] ); if ( isset( $_POST['llms_generate_cert'] ) ) { $this->download( $cert_id ); } elseif ( isset( $_POST['llms_delete_cert'] ) ) { $this->delete( $cert_id ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.18.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: