_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


(string) (Required) Either 'achievement' or 'certificate'.

Top ↑

Return Return


Top ↑

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' );

Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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