LLMS_Membership::get_categories( array $args = array() )

Retrieve membership categories.


Parameters Parameters

$args

(array) (Optional) Array of args passed to wp_get_post_terms().

Default value: array()


Top ↑

Return Return

(array)


Top ↑

Source Source

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

	public function get_categories( $args = array() ) {
		return wp_get_post_terms( $this->get( 'id' ), 'membership_cat', $args );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.36.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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