bbp_get_title_max_length( $default = 80 )
Return the maximum length of a title
Description
Parameters
- $default
-
(Optional) bool Optional. Default value 80
Default value: 80
Return
(int) Is anonymous posting allowed?
Source
File: bp-forums/core/options.php
function bbp_get_title_max_length( $default = 80 ) { return (int) apply_filters( 'bbp_get_title_max_length', (int) get_option( '_bbp_title_max_length', $default ) ); }
Changelog
Version | Description |
---|---|
bbPress (r3246) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.