BP_Members_Admin::get_list_table_class( string $class = '', string $required = '' )

Load the Signup WP Users List table.

Description

Parameters

$class

(Optional) The name of the class to use.

Default value: ''

$required

(Optional) The parent class.

Default value: ''

Return

(WP_List_Table|null) The List table.

Source

File: bp-members/classes/class-bp-members-admin.php

	public static function get_list_table_class( $class = '', $required = '' ) {
		if ( empty( $class ) ) {
			return;
		}

		if ( ! empty( $required ) ) {
			require_once( ABSPATH . 'wp-admin/includes/class-wp-' . $required . '-list-table.php' );
		}

		return new $class();
	}

Changelog

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