How to increase post title length limit in bbPress

avatar
Share This:

By default, if the title is longer than 80 characters, an error will occur and you won’t be able to post, so I looked into ways to increase the length limit. Just put the following code in functions.php.

// Increase bbPress topic title length limit
add_filter ('bbp_get_title_max_length','change_title') ;

Function change_title ($default) {
$default=120 ;
Return $default ;
}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × two =