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'


Top ↑

Return Return

(WP_Error|true)


Top ↑

Source Source

File: libraries/lifterlms-helper/includes/class-llms-helper-upgrader.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Use strict comparison for in_array().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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