bbp_title_max_length

Output the maximum length of a title.

Description

bbp_title_max_length( (int) $default = 80 ); 

Parameters (1)

0. $default — Optional. (int) => 80
Bool Optional. Default value 80

Usage

  1. if ( !function_exists( 'bbp_title_max_length' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/options.php'; 
  3.  
  4. // bool Optional. Default value 80 
  5. $default = 80; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_title_max_length($default); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/core/options.php  
  1. function bbp_title_max_length( $default = 80 ) { 
  2. echo bbp_get_title_max_length( $default );