bp_core_mark_user_ham_admin( int $user_id )

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


Parameters Parameters

$user_id

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


Source Source

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

function bp_core_mark_user_ham_admin( $user_id ) {
	bp_core_process_spammer_status( $user_id, 'ham', 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.