LLMS_Shortcode_Favorites::get_favorites()

Retrieve an array of Favorites from lifterlms_user_postmeta.


Return Return

(WP_Query)


Top ↑

Source Source

File: includes/shortcodes/class.llms.shortcode.favorites.php

	protected function get_favorites() {

		$student = llms_get_student();

		$order_by = $this->get_attribute( 'orderby' );
		$order    = $this->get_attribute( 'order' );
		$limit    = $this->get_attribute( 'limit' );

		return $student->get_favorites( $order_by, $order, $limit );
	}


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.