bp_groups_get_group_type_post_type_labels()

Return labels used by the group type post type.

Description

Return

(array)

Source

File: bp-groups/bp-groups-functions.php

function bp_groups_get_group_type_post_type_labels() {

	/**
	 * Filters group type post type labels.
	 *
	 * @since BuddyBoss 1.0.0
	 *
	 * @param array $value Associative array (name => label).
	 */
	return apply_filters(
		'bp_groups_get_group_type_post_type_labels',
		array(
			'add_new_item'       => __( 'New Group Type', 'buddyboss' ),
			'all_items'          => __( 'Group Types', 'buddyboss' ),
			'edit_item'          => __( 'Edit Group Type', 'buddyboss' ),
			'menu_name'          => __( 'Social Groups', 'buddyboss' ),
			'name'               => __( 'Group Types', 'buddyboss' ),
			'new_item'           => __( 'New Group Type', 'buddyboss' ),
			'not_found'          => __( 'No Group Types found', 'buddyboss' ),
			'not_found_in_trash' => __( 'No Group Types found in trash', 'buddyboss' ),
			'search_items'       => __( 'Search Group Types', 'buddyboss' ),
			'singular_name'      => __( 'Group Type', 'buddyboss' ),
		)
	);
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.