bbp_get_form_reply_to()
Return the value of reply to field
Description
Return
(string) Value of reply to field
Source
File: bp-forums/replies/template.php
2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 | function bbp_get_form_reply_to() { // Set initial value $reply_to = 0; // Get $_REQUEST data if ( isset( $_REQUEST [ 'bbp_reply_to' ] ) ) { $reply_to = bbp_validate_reply_to( $_REQUEST [ 'bbp_reply_to' ] ); } // If empty, get from meta if ( empty ( $reply_to ) ) { $reply_to = bbp_get_reply_to(); } return (int) apply_filters( 'bbp_get_form_reply_to' , $reply_to ); } |
Changelog
Version | Description |
---|---|
bbPress (r4944) | 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.