bp_search_buffer_template_part( $template,  $variation = '',  $echo = true )

BuddyBoss Search page content.

Description

Source

File: bp-search/bp-search-template.php

function bp_search_buffer_template_part( $template, $variation='', $echo=true ){
	ob_start();

	bp_search_load_template( $template, $variation );
	// Get the output buffer contents
	$output = ob_get_clean();

	// Echo or return the output buffer contents
	if ( true === $echo ) {
		echo $output;
	} else {
		return $output;
	}
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.