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

Load the Signup WP Users List table.


Parameters Parameters

$class

(string) (Optional) The name of the class to use.

Default value: ''

$required

(string) (Optional) The parent class.

Default value: ''


Top ↑

Return Return

(WP_List_Table|null) The List table.


Source 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();
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.