bp_get_members_member_type_base()

Get the member type base slug.


Description Description

The base slug is the string used as the base prefix when generating member type directory URLs. For example, in example.com/members/type/foo/, ‘foo’ is the member type and ‘type’ is the base slug.


Return Return

(string)


Top ↑

Source Source

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

	function bp_get_members_member_type_base() {
		/**
		 * Filters the member type URL base.
		 *
		 * @since 2.3.0
		 *
		 * @param string $base
		 */
		return apply_filters( 'bp_members_member_type_base', _x( 'type', 'member type URL base', 'buddypress' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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