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.


Top ↑

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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.