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_Achievements::delete( int $cert_id )
Delete a cert
Description Description
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.achievements.php
private function delete( $cert_id ) { if ( ! is_admin() ) { return; } $cert = new LLMS_User_Achievement( $cert_id ); $cert->delete(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.18.0 | Introduced. |