Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BBP_Shortcodes::start( string $query_name = '' )
Start an output buffer.
Description Description
This is used to put the contents of the shortcode into a variable rather than outputting the HTML at run-time. This allows shortcodes to appear in the correct location in the_content() instead of when it’s created.
Parameters Parameters
- $query_name
-
(Optional)
Default value: ''
Source Source
File: includes/common/shortcodes.php
private function start( $query_name = '' ) { // Set query name bbp_set_query_name( $query_name ); // Start output buffer ob_start(); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |