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::end()
Return the contents of the output buffer and flush its contents.
Description Description
Return Return
(string) Contents of output buffer.
Source Source
File: includes/common/shortcodes.php
private function end() { // Unset globals $this->unset_globals(); // Get the query name, for filter $query_name = bbp_get_query_name(); // Reset the query name bbp_reset_query_name(); // Return and flush the output buffer $output = ob_get_clean(); // Filter & return return apply_filters( 'bbp_display_shortcode', $output, $query_name ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |