llms_get_dashicon_link( string $url, array $args = array() )

Retrieves HTML for a Dashicon wrapped in an anchor.


Description Description

A utility for adding links to external documentation.


Top ↑

Parameters Parameters

$url

(string) (Required) The URL of the anchor tag.

$args

(array) (Optional) An array of optional configuration options.

Default value: array()


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/admin/llms.functions.admin.php

		$req  = new LLMS_Dot_Com_API( '/products', array(), 'GET' );
		$data = $req->get_result();

		if ( $req->is_error() ) {
			return $data;
		}

		set_transient( 'llms_products_api_result', $data, DAY_IN_SECONDS );

	}

	return $data;

}

/**
 * Instantiate a new LLMS_Add_On object
 *
 * @since 3.22.0
 *
 * @param string|array $addon      Add-on data array or a string (such as an ID or update file path) used to lookup the addon.
 * @param string       $lookup_key If $addon is a string, this determines how to lookup the addon from the available list of addons.
 * @return LLMS_Add_On|LLMS_Helper_Add_On
 */
function llms_get_add_on( $addon = array(), $lookup_key = 'id' ) {

Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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