llms_update_3160_lesson_to_quiz_relationships_migration()

Rename meta keys for lesson -> quiz relationship


Return Return

(void)


Top ↑

Source Source

File: includes/functions/updates/llms-functions-updates-3160.php

function llms_update_3160_lesson_to_quiz_relationships_migration() {

	global $wpdb;
	$wpdb->update(
		$wpdb->postmeta,
		array(
			'meta_key' => '_llms_quiz',
		),
		array(
			'meta_key' => '_llms_assigned_quiz',
		)
	); // db call ok; no-cache ok.

}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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