bp_nouveau_before_loop()

Template tag to wrap the before component loop

Description

Source

File: bp-templates/bp-nouveau/includes/template-tags.php

339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
function bp_nouveau_before_loop() {
    $component = bp_current_component();
 
    if ( bp_is_group() ) {
        $component = bp_current_action();
    }
 
    /**
     * Fires before the start of the component loop.
     *
     * This is a variable hook that is dependent on the current component.
     *
     * @since BuddyPress 1.2.0
     */
    do_action( "bp_before_{$component}_loop" );
}

Changelog

Changelog
Version Description
BuddyPress 3.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.