bbp_get_topic_post_type_labels()
Return array of labels used by the topic post type
Description Description
Return Return
(array)
Source Source
File: includes/topics/template.php
function bbp_get_topic_post_type_labels() {
// Filter & return
return (array) apply_filters( 'bbp_get_topic_post_type_labels', array(
'name' => esc_attr__( 'Topics', 'bbpress' ),
'menu_name' => esc_attr__( 'Topics', 'bbpress' ),
'singular_name' => esc_attr__( 'Topic', 'bbpress' ),
'all_items' => esc_attr__( 'All Topics', 'bbpress' ),
'add_new' => esc_attr__( 'Add New', 'bbpress' ),
'add_new_item' => esc_attr__( 'Create New Topic', 'bbpress' ),
'edit' => esc_attr__( 'Edit', 'bbpress' ),
'edit_item' => esc_attr__( 'Edit Topic', 'bbpress' ),
'new_item' => esc_attr__( 'New Topic', 'bbpress' ),
'view' => esc_attr__( 'View Topic', 'bbpress' ),
'view_item' => esc_attr__( 'View Topic', 'bbpress' ),
'view_items' => esc_attr__( 'View Topics', 'bbpress' ),
'search_items' => esc_attr__( 'Search Topics', 'bbpress' ),
'not_found' => esc_attr__( 'No topics found', 'bbpress' ),
'not_found_in_trash' => esc_attr__( 'No topics found in Trash', 'bbpress' ),
'filter_items_list' => esc_attr__( 'Filter topics list', 'bbpress' ),
'items_list' => esc_attr__( 'Topics list', 'bbpress' ),
'items_list_navigation' => esc_attr__( 'Topics list navigation', 'bbpress' ),
'parent_item_colon' => esc_attr__( 'Forum:', 'bbpress' ),
'archives' => esc_attr__( 'Forum Topics', 'bbpress' ),
'attributes' => esc_attr__( 'Topic Attributes', 'bbpress' ),
'insert_into_item' => esc_attr__( 'Insert into topic', 'bbpress' ),
'uploaded_to_this_item' => esc_attr__( 'Uploaded to this topic', 'bbpress' ),
'featured_image' => esc_attr__( 'Topic Image', 'bbpress' ),
'set_featured_image' => esc_attr__( 'Set topic image', 'bbpress' ),
'remove_featured_image' => esc_attr__( 'Remove topic image', 'bbpress' ),
'use_featured_image' => esc_attr__( 'Use as topic image', 'bbpress' ),
'item_published' => esc_attr__( 'Topic published.', 'bbpress' ),
'item_published_privately' => esc_attr__( 'Topic published privately.', 'bbpress' ),
'item_reverted_to_draft' => esc_attr__( 'Topic reverted to draft.', 'bbpress' ),
'item_scheduled' => esc_attr__( 'Topic scheduled.', 'bbpress' ),
'item_updated' => esc_attr__( 'Topic updated.', 'bbpress' )
) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |