bp_core_mark_user_ham_admin( int $user_id )
Hook to WP’s make_ham_user and run our custom BP spam functions.
Description Description
Parameters Parameters
- $user_id
-
(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 ); }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |