bbp_split_topic_form_fields()
Split topic form fields
Description
Output the required hidden fields when splitting a topic
Source
File: bp-forums/common/template.php
function bbp_split_topic_form_fields() { ?> <input type="hidden" name="action" id="bbp_post_action" value="bbp-split-topic" /> <input type="hidden" name="bbp_reply_id" id="bbp_reply_id" value="<?php echo absint( $_GET['reply_id'] ); ?>" /> <?php wp_nonce_field( 'bbp-split-topic_' . bbp_get_topic_id() ); }
Changelog
Version | Description |
---|---|
bbPress (r2756) | 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.