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

BuddyBoss Search page content.

Description

Source

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

63
64
65
66
67
68
69
70
71
72
73
74
75
76
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.