bp_get_invite_post_type_labels()

Return labels used by the invite post type.

Description

Return

(array)

Source

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

function bp_get_invite_post_type_labels() {

	/**
	 * Filters invite post type labels.
	 *
	 * @since BuddyBoss 1.0.0
	 *
	 * @param array $value Associative array (name => label).
	 */
	return apply_filters( 'bp_get_invite_post_type_labels', array(
		'add_new_item'          => __( 'Send Invite', 'buddyboss' ),
		'all_items'             => __( 'Sent Invites', 'buddyboss' ),
		'edit_item'             => __( 'Edit Sent Invite', 'buddyboss' ),
		'menu_name'             => __( 'Invites', 'buddyboss' ),
		'name'                  => __( 'Email Invites', 'buddyboss' ),
		'new_item'              => __( 'New Sent Invite', 'buddyboss' ),
		'not_found'             => __( 'No Sent Invites found', 'buddyboss' ),
		'not_found_in_trash'    => __( 'No Sent Invites found in trash', 'buddyboss' ),
		'search_items'          => __( 'Search Sent Invites', 'buddyboss' ),
		'singular_name'         => __( 'Sent Invite', '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.