is_membership_category( mixed $term = '' )

Determine if a membership category archive page is being displayed.

Parameters Parameters


(mixed) (Optional) Single or array of membership category ID(s), name(s), or slug(s).

Default value: ''

Top ↑

Return Return


Top ↑

Source Source

File: includes/functions/llms-functions-conditional-tags.php

	function is_membership_category( $term = '' ) {
		return is_tax( 'membership_cat', $term );

Top ↑

Changelog Changelog

Version Description
3.37.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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