bp_get_member_type_tax_name

Return the slug of the member type taxonomy.

Description

(string) bp_get_member_type_tax_name(); 

Returns (string)

The unique member taxonomy slug.


Usage

  1. if ( !function_exists( 'bp_get_member_type_tax_name' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_get_member_type_tax_name(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-members/bp-members-functions.php  
  1. function bp_get_member_type_tax_name() { 
  2. /** 
  3. * Filters the slug of the member type taxonomy. 
  4. * @since 2.7.0 
  5. * @param string $value Member type taxonomy slug. 
  6. */ 
  7. return apply_filters( 'bp_get_member_type_tax_name', 'bp_member_type' );