llms_update_3120_update_integration_options()

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


Description Description


Source Source

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

	$wpdb->update( $wpdb->options,
		array(
			'option_name' => 'llms_integration_buddypress_enabled',
		),
		array(
			'option_name' => 'lifterlms_buddypress_enabled',
		)
	);

}

Top ↑

User Contributed Notes User Contributed Notes

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