bb_generator
The BuddyPress bb generator function.
Description
bb_generator( (string) $type = 'xhtml' );
Parameters (1)
- 0. $type — Optional. (string) =>
'xhtml'
- The type.
Usage
if ( !function_exists( 'bb_generator' ) ) { require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php'; } // The type. $type = 'xhtml'; // NOTICE! Understand what this does before running. $result = bb_generator($type);
Defined (1)
The function is defined in the following location(s).
- /bp-forums/bbpress/bb-includes/functions.bb-template.php
- function bb_generator( $type = 'xhtml' )
- {
- if ( !$type ) {
- $type = 'xhtml';
- }
- }