llms_update_3120_update_integration_options()

Rename options for bbPress and BuddyPress to follow the abstract integration options structure


Return Return

(void)


Top ↑

Source Source

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

function llms_update_3120_update_integration_options() {

	global $wpdb;
	$wpdb->update(
		$wpdb->options,
		array(
			'option_name' => 'llms_integration_bbpress_enabled',
		),
		array(
			'option_name' => 'lifterlms_bbpress_enabled',
		)
	); // db call ok; no-cache ok.

	$wpdb->update(
		$wpdb->options,
		array(
			'option_name' => 'llms_integration_buddypress_enabled',
		),
		array(
			'option_name' => 'lifterlms_buddypress_enabled',
		)
	); // db call ok; no-cache ok.

}

Top ↑

Changelog Changelog

Changelog
Version Description
3.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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