bbp_spam_reply
bbp_spam_reply
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: action
See hook in action
Displaying hooks found in version: bbpress.2.6.9do_action('bbp_spam_reply') is found 1 times:
- /includes/replies/functions.php line 173917351736173717381739174017411742174317441745
return
false;
}
// Execute pre spam code
do_action(
'bbp_spam_reply'
,
$reply_id
);
// Add the original post status as post meta for future restoration
add_post_meta(
$reply_id
,
'_bbp_spam_meta_status'
,
$reply
->post_status );
// Set post status to spam
$reply
->post_status = bbp_get_spam_status_id();