llms_get_image_size( $name,  $default = array() )


Source Source

File: includes/llms.template.functions.php

 * @since Unknown
 * @since 3.37.13 Use `LLMS_Product` in favor of the deprecated `LLMS_Course_Factory::get_product()` method.
 *
 * @param WP_Post|int|false $the_product Course or membership post object or id. If `false` uses the global `$post` object.
 * @param array             $args        Arguments to pass to the LLMS_Product Constructor.
 * @return LLMS_Proudct
 */
function llms_get_product( $the_product = false, $args = array() ) {
	if ( ! $the_product ) {
		global $post;

Top ↑

User Contributed Notes User Contributed Notes

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