_add_legacy_opt( string $engagement_type )
Adds an option used to determine if the site has at least one legacy achievement or certificate template or award that uses the default image.
Parameters Parameters
- $engagement_type
-
(string) (Required) Either 'achievement' or 'certificate'.
Return Return
(void)
Source Source
File: includes/functions/updates/llms-functions-updates-600.php
function _add_legacy_opt( $engagement_type ) { update_option( "llms_has_{$engagement_type}s_with_legacy_default_image", 'yes', 'no' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |