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_Admin_AddOns::get_all()

Retrieve a list of addons for use on the All section


Return Return

(array)


Top ↑

Source Source

File: includes/admin/class.llms.admin.addons.php

	private function get_all() {

		$all = array();

		$addons = $this->data['items'];

		foreach ( $addons as $addon ) {
			// Exclude third-party Addons from the All section.
			if ( in_array( 'third-party', array_keys( $addon['categories'] ), true ) ) {
					continue;
			}
			$all[] = $addon;
		}

		return $all;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
7.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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