bbp_approve_reply
bbp_approve_reply
Appears in: 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_approve_reply') is found 1 times:
- /includes/replies/functions.php line 183318291830183118321833183418351836183718381839
return
false;
}
// Execute pre pending code
do_action(
'bbp_approve_reply'
,
$reply_id
);
// Set publish status
$reply
->post_status =
$status
;
// Set post date GMT - prevents post_date override in wp_update_post()
$reply
->post_date_gmt = get_gmt_from_date(
$reply
->post_date );