BP_Members_MS_List_Table::no_items()

The text shown when no items are found.

Description

Nice job, clean sheet!

Source

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

	public function no_items() {
		if ( bp_get_signup_allowed() ) {
			esc_html_e( 'No pending accounts found.', 'buddyboss' );
		} else {
			$link = false;

			if ( current_user_can( 'manage_network_users' ) ) {
				$link = sprintf( '<a href="%1$s">%2$s</a>', esc_url( network_admin_url( 'settings.php' ) ), esc_html__( 'Edit settings', 'buddyboss' ) );
			}

			printf( __( 'Registration is disabled. %s', 'buddyboss' ), $link );
		}
	}

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.