bbp_move_reply_form_fields

Move reply form fields.

Description

bbp_move_reply_form_fields(); 

Output the required hidden fields when moving a reply


Usage

  1. if ( !function_exists( 'bbp_move_reply_form_fields' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/common/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_move_reply_form_fields(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/common/template.php  
  1. function bbp_move_reply_form_fields() { 
  2. ?> 
  3.  
  4. <input type="hidden" name="action" id="bbp_post_action" value="bbp-move-reply" /> 
  5. <input type="hidden" name="bbp_reply_id" id="bbp_reply_id" value="<?php echo absint( $_GET['reply_id'] ); ?>" /> 
  6.  
  7. <?php wp_nonce_field( 'bbp-move-reply_' . bbp_get_reply_id() );