bp_invite_add_column( type $columns )

Add new columns to the post type list screen.

Description

Parameters

$columns

(Required)

Return

(type)

Source

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

function bp_invite_add_column( $columns ) {

	$columns['inviter'] = __( 'Sender', 'buddyboss' );
	$columns['invitee_name'] = __( 'Recipient Name', 'buddyboss' );
	$columns['invitee_email'] = __( 'Recipient Email', 'buddyboss' );
	$columns['date_invited'] = __( 'Date Invited', 'buddyboss' );
	$columns['status'] = __( 'Status', 'buddyboss' );

	unset( $columns['date'] );
	unset( $columns['title'] );

	return $columns;
}

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.