bp_get_current_member_type()

Get the “current” member type, if one is provided, in member directories.


Return Return

(string)


Source Source

File: bp-members/bp-members-functions.php

function bp_get_current_member_type() {

	/**
	 * Filters the "current" member type, if one is provided, in member directories.
	 *
	 * @since 2.3.0
	 *
	 * @param string $value "Current" member type.
	 */
	return apply_filters( 'bp_get_current_member_type', buddypress()->current_member_type );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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