bbp_get_reply_post_type_labels

Return array of labels used by the reply post type.

Description

(array) bbp_get_reply_post_type_labels(); 

Returns (array)


Usage

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

Defined (1)

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

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