bbp_get_form_reply_log_edit()
Return checked value of reply log edit field
Description
Return
(string) Reply log edit checked value
Source
File: bp-forums/replies/template.php
2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 | function bbp_get_form_reply_log_edit() { // Get _POST data if ( bbp_is_post_request() && isset( $_POST [ 'bbp_log_reply_edit' ] ) ) { $reply_revision = $_POST [ 'bbp_log_reply_edit' ]; // No data } else { $reply_revision = 1; } return apply_filters( 'bbp_get_form_reply_log_edit' , checked( $reply_revision , true, false ) ); } |
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.