Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Controller_Certificates::delete( int $cert_id )
Delete a certificate
Parameters Parameters
- $cert_id
-
(int) (Required) WP Post ID of the llms_my_certificate
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.certificates.php
165 166 167 168 169 170 171 172 173 174 | * @ return void */ public function maybe_handle_reporting_actions() { if ( ! llms_verify_nonce( '_llms_cert_actions_nonce' , 'llms-cert-actions' ) ) { return ; } $cert_id = absint( llms_filter_input( INPUT_POST, 'certificate_id' , FILTER_SANITIZE_NUMBER_INT ) ); if ( isset( $_POST [ 'llms_generate_cert' ] ) ) { |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.18.0 | Introduced. |