bbp_delete_reply( $reply_id )

Called before deleting a reply

Description

Source

File: bp-forums/replies/functions.php

1804
1805
1806
1807
1808
1809
1810
1811
function bbp_delete_reply( $reply_id = 0 ) {
    $reply_id = bbp_get_reply_id( $reply_id );
 
    if ( empty( $reply_id ) || !bbp_is_reply( $reply_id ) )
        return false;
 
    do_action( 'bbp_delete_reply', $reply_id );
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.