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.

Parameters Parameters


(WP_User|null) (Optional) The WP_User object to be edited.

Default value: null

Source Source

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

	public function user_admin_spammer_metabox( $user = null ) {
			/* translators: %s: member name */
			printf( __( '%s has been marked as a spammer. All BuddyPress data associated with the user has been removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) );

Top ↑

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.