Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Helper_Upgrader::set_plugins_api( string $id, bool $include_sections = true )

Setup an object of addon data for use when requesting plugin information normally acquired from wp.org


Description Description


Parameters Parameters

$id

(Required) Addon id.

$include_sections

(Optional) Whether or not to include additional sections like the description and changelog.

Default value: true


Top ↑

Return Return

(object)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.1 Set package to true for add-ons which don't require a license.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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