bbp_get_forum_post_type_labels

Return array of labels used by the forum post type.

Description

(array) bbp_get_forum_post_type_labels(); 

Returns (array)


Usage

  1. if ( !function_exists( 'bbp_get_forum_post_type_labels' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/forums/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_get_forum_post_type_labels(); 
  7.  

Defined (1)

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

/includes/forums/template.php  
  1. function bbp_get_forum_post_type_labels() { 
  2. return apply_filters( 'bbp_get_forum_post_type_labels', array( 
  3. 'name' => __( 'Forums', bbpress ),  
  4. 'menu_name' => __( 'Forums', bbpress ),  
  5. 'singular_name' => __( 'Forum', bbpress ),  
  6. 'all_items' => __( 'All Forums', bbpress ),  
  7. 'add_new' => __( 'New Forum', bbpress ),  
  8. 'add_new_item' => __( 'Create New Forum', bbpress ),  
  9. 'edit' => __( 'Edit', bbpress ),  
  10. 'edit_item' => __( 'Edit Forum', bbpress ),  
  11. 'new_item' => __( 'New Forum', bbpress ),  
  12. 'view' => __( 'View Forum', bbpress ),  
  13. 'view_item' => __( 'View Forum', bbpress ),  
  14. 'search_items' => __( 'Search Forums', bbpress ),  
  15. 'not_found' => __( 'No forums found', bbpress ),  
  16. 'not_found_in_trash' => __( 'No forums found in Trash', bbpress ),  
  17. 'parent_item_colon' => __( 'Parent Forum:', bbpress ) 
  18. ) );