BP_Members_Admin::user_admin_spammer_metabox( WP_User|null $user = null )

Render the fallback metabox in case a user has been marked as a spammer.

Description

Parameters

$user

(Optional) The WP_User object to be edited.

Default value: null

Source

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

	public function user_admin_spammer_metabox( $user = null ) {
	?>
		<p><?php printf( __( '%s has been marked as a spammer. All BuddyPress data associated with the user has been removed', 'buddyboss' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ) ;?></p>
	<?php
	}

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.