bp_core_mark_user_spam_admin( int $user_id )

Hook to WP’s make_spam_user and run our custom BP spam functions.


Parameters Parameters

$user_id

(int) (Required) The user ID passed from the make_spam_user hook.


Source Source

File: bp-members/bp-members-functions.php

function bp_core_mark_user_spam_admin( $user_id ) {
	bp_core_process_spammer_status( $user_id, 'spam', false );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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