bp_get_email_tax_type_labels

Return labels used by the email type taxonomy.

Description

(array) bp_get_email_tax_type_labels(); 

Returns (array)


Usage

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

Defined (1)

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

/bp-core/bp-core-functions.php  
  1. function bp_get_email_tax_type_labels() { 
  2.  
  3. /** 
  4. * Filters email type taxonomy labels. 
  5. * @since 2.5.0 
  6. * @param array $value Associative array (name => label). 
  7. */ 
  8. 'add_new_item' => _x( 'New Email Situation', 'email type taxonomy label', buddypress ),  
  9. 'all_items' => _x( 'All Email Situations', 'email type taxonomy label', buddypress ),  
  10. 'edit_item' => _x( 'Edit Email Situations', 'email type taxonomy label', buddypress ),  
  11. 'items_list' => _x( 'Email list', 'email type taxonomy label', buddypress ),  
  12. 'items_list_navigation' => _x( 'Email list navigation', 'email type taxonomy label', buddypress ),  
  13. 'menu_name' => _x( 'Situations', 'email type taxonomy label', buddypress ),  
  14. 'name' => _x( 'Situation', 'email type taxonomy name', buddypress ),  
  15. 'new_item_name' => _x( 'New email situation name', 'email type taxonomy label', buddypress ),  
  16. 'not_found' => _x( 'No email situations found.', 'email type taxonomy label', buddypress ),  
  17. 'no_terms' => _x( 'No email situations', 'email type taxonomy label', buddypress ),  
  18. 'popular_items' => _x( 'Popular Email Situation', 'email type taxonomy label', buddypress ),  
  19. 'search_items' => _x( 'Search Emails', 'email type taxonomy label', buddypress ),  
  20. 'singular_name' => _x( 'Email', 'email type taxonomy singular name', buddypress ),  
  21. 'update_item' => _x( 'Update Email Situation', 'email type taxonomy label', buddypress ),  
  22. 'view_item' => _x( 'View Email Situation', 'email type taxonomy label', buddypress ),  
  23. ) );