LLMS_Helper_Upgrader::install_addon( string|obj $addon_or_id, string $action = 'install' )
Install an add-on from LifterLMS.com
Description Description
Parameters Parameters
- $addon_or_id
-
(Required) ID for the add-on or an instance of the LLMS_Add_On.
- $action
-
(Optional) Installation type [install|update].
Default value: 'install'
Return Return
(WP_Error|true)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-upgrader.php
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Use strict comparison for in_array() . |
3.0.0 | Introduced. |