bbp_edit_reply_pre_extras

  • do_action( 'bbp_edit_reply_pre_extras', $reply_id )

    Source Reference:

    • Component: bbPress:: bbp-reply
      File: /bbp-includes/bbp-reply-functions.php :: Trac Source Line: 465
      		bbp_add_error( 'bbp_reply_blacklist', __( '<strong>ERROR</strong>: Your reply cannot be edited at this time.', 'bbpress' ) );
      
      	/** Topic Tags ************************************************************/
      
      	if ( !empty( $_POST['bbp_topic_tags'] ) )
      		$terms = esc_attr( strip_tags( $_POST['bbp_topic_tags'] ) );
      
      	/** Additional Actions (Before Save) **************************************/
      
      	do_action( 'bbp_edit_reply_pre_extras', $reply_id );
      
      	/** No Errors *************************************************************/
      
      	// Handle insertion into posts table
      	if ( !bbp_has_errors() ) {
      
      		// Add the content of the form to $post as an array
      		$reply_data = array(
      			'ID'           => $reply_id,
      			'post_title'   => $reply_title,
      

Comments are closed.