bbp_edit_reply_pre_content

bbp_edit_reply_pre_content

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_edit_reply_pre_content') is found 1 times:

  • /includes/replies/functions.php line 628
    		$reply_content = $_POST['bbp_reply_content'];
    	}
    
    	// Filter and sanitize
    	$reply_content = apply_filters( 'bbp_edit_reply_pre_content', $reply_content, $reply_id );
    
    	// No reply content
    	if ( empty( $reply_content ) ) {
    		bbp_add_error( 'bbp_edit_reply_content', __( '<strong>Error</strong>: Your reply cannot be empty.', 'bbpress' ) );
    	}
    
    

See this hook used in plugins: