bbp_merge_topic_form_fields()

Merge topic form fields

Description

Output the required hidden fields when merging a topic

Source

File: bp-forums/common/template.php

1813
1814
1815
1816
1817
1818
1819
1820
function bbp_merge_topic_form_fields() {
?>
 
    <input type="hidden" name="action"       id="bbp_post_action" value="bbp-merge-topic" />
    <input type="hidden" name="bbp_topic_id" id="bbp_topic_id"    value="<?php bbp_topic_id(); ?>" />
 
    <?php wp_nonce_field( 'bbp-merge-topic_' . bbp_get_topic_id() );
}

Changelog

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.