* @uses bbp_is_reply() To check if the passed id is a reply
* @uses do_action() Calls 'bbp_unstrash_reply' with the reply id
*/
function bbp_untrash_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_untrash_reply', $reply_id );
}
/** After Delete/Trash/Untrash ************************************************/
/**
* Called after deleting a reply
*
* @uses bbp_get_reply_id() To get the reply id
* @uses bbp_is_reply() To check if the passed id is a reply
* @uses do_action() Calls 'bbp_deleted_reply' with the reply id