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
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
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.