bp_nouveau_blogs_loop_buttons( array $args = array() )

Output the action buttons inside the blogs loop.

Description

Parameters

$args

(Optional) See bp_nouveau_wrapper() for the description of parameters.

Default value: array()

Source

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

129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
function bp_nouveau_blogs_loop_buttons( $args = array() ) {
    if ( empty( $GLOBALS['blogs_template'] ) ) {
        return;
    }
 
    $args['type'] = 'loop';
 
    $output = join( ' ', bp_nouveau_get_blogs_buttons( $args ) );
 
    ob_start();
    /**
     * Fires inside the blogs action listing area.
     *
     * @since BuddyPress 3.0.0
     */
    do_action( 'bp_directory_blogs_actions' );
    $output .= ob_get_clean();
 
    if ( ! $output ) {
        return;
    }
 
    bp_nouveau_wrapper( array_merge( $args, array( 'output' => $output ) ) );
}

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.