llms_update_3120_update_integration_options()
Rename options for bbPress and BuddyPress to follow the abstract integration options structure
Contents
Return Return
(void)
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.
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.12.0 | Introduced. |