LLMS_Install::update_actions()
Handle form submission of update related actions
Return Return
(void)
Source Source
File: includes/class.llms.install.php
$term = get_term_by( 'name', $name, 'course_difficulty' );
if ( $term ) {
wp_delete_term( $term->term_id, 'course_difficulty' );
}
}
}
/**
* Run database updates
*
* If no updates are required for the current version, records the DB version as the current
* plugin version.
*
* @since 5.2.0
*
* @param string $db_version The DB version to upgrade from.
* @return void
*/
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.2.0 | Use LLMS_DB_Upgrader and remove the "force upgrade" action handler. |
| 3.4.3 | Introduced. |