bbp_new_reply_pre_extras

  • do_action( 'bbp_new_reply_pre_extras' )

    Source Reference:

    • Component: bbPress:: bbp-reply
      File: /bbp-includes/bbp-reply-functions.php :: Trac Source Line: 217
      		bbp_add_error( 'bbp_reply_blacklist', __( '<strong>ERROR</strong>: Your reply cannot be created 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_new_reply_pre_extras' );
      
      	/** No Errors *************************************************************/
      
      	// Handle insertion into posts table
      	if ( !bbp_has_errors() ) {
      
      		/** Create new reply **************************************************/
      
      		// Add the content of the form to $post as an array
      		$reply_data = array(
      

Comments are closed.