bbp_get_form_reply_edit_reason()

Return the value of the reply edit reason

Description

Return

(string) Reply edit reason value

Source

File: bp-forums/replies/template.php

2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
function bbp_get_form_reply_edit_reason() {
 
    // Get _POST data
    if ( bbp_is_post_request() && isset( $_POST['bbp_reply_edit_reason'] ) ) {
        $reply_edit_reason = $_POST['bbp_reply_edit_reason'];
 
    // No data
    } else {
        $reply_edit_reason = '';
    }
 
    return apply_filters( 'bbp_get_form_reply_edit_reason', esc_attr( $reply_edit_reason ) );
}

Changelog

Changelog
Version Description
bbPress (r31301) Introduced.

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.