llms_update_3160_lesson_to_quiz_relationships_migration()

Rename meta keys for lesson -> quiz relationship


Description Description


Return Return

([type])


Top ↑

Source Source

File: includes/functions/llms.functions.updates.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',
		)
	);

}

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.