is_membership_tag( mixed $term = '' )

Determine if a membership tag archive page is being displayed.


Parameters Parameters

$term

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

Default value: ''


Top ↑

Return Return

(boolean)


Top ↑

Source Source

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

	function is_membership_tag( $term = '' ) {
		return is_tax( 'membership_tag', $term );
	}

Top ↑

Changelog 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.