BP_Members_List_Table::column_default( object|null $signup_object = null, string $column_name = '' )

Allow plugins to add their custom column.

Description

Parameters

$signup_object

(Optional) The signup data object.

Default value: null

$column_name

(Optional) The column name.

Default value: ''

Return

(string)

Source

File: bp-members/classes/class-bp-members-list-table.php

407
408
409
410
411
412
413
414
415
416
417
418
function column_default( $signup_object = null, $column_name = '' ) {
 
    /**
     * Filters the single site custom columns for plugins.
     *
     * @since BuddyPress 2.1.0
     *
     * @param string $column_name   The column name.
     * @param object $signup_object The signup data object.
     */
    return apply_filters( 'bp_members_signup_custom_column', '', $column_name, $signup_object );
}

Changelog

Changelog
Version Description
BuddyPress 2.1.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.