LLMS_Instructor::get_memberships( array $args = array(), string $return = 'llms_posts' )

Retrieve instructor’s memberships


Parameters Parameters

$args

(array) (Optional) query argument, see $this->get_posts()

Default value: array()

$return

(string) (Optional) return format, see $this->get_posts()

Default value: 'llms_posts'


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/models/model.llms.instructor.php

	public function get_memberships( $args = array(), $return = 'llms_posts' ) {

		$args = wp_parse_args(
			$args,
			array(
				'post_type' => 'llms_membership',
			)
		);
		return $this->get_posts( $args, $return );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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