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

Parameters Parameters


(int) (Required) WP Post ID of the llms_my_certificate.

Top ↑

Return Return


Top ↑

Source Source

File: includes/controllers/class.llms.controller.achievements.php

					( $variables['engagement_id'] ?? 0 )
				return sprintf(
					/* translators: %1$d: awarded achievement ID */
					__( 'Sorry, the awarded achievement #%1$d does not have a valid achievement template.', 'lifterlms' ),
					( $variables['engagement_id'] ?? 0 )
				return __( 'Sorry, you are not allowed to edit awarded achievements.', 'lifterlms' );

Top ↑

Changelog Changelog

Version Description
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.