bp_nouveau_activity_entry_buttons( array $args = array() )
Output the action buttons inside an Activity Loop.
Parameters Parameters
- $args
-
(array) (Optional) See bp_nouveau_wrapper() for the description of parameters.
Default value: array()
Source Source
File: bp-templates/bp-nouveau/includes/activity/template-tags.php
function bp_nouveau_activity_entry_buttons( $args = array() ) { $output = join( ' ', bp_nouveau_get_activity_entry_buttons( $args ) ); ob_start(); /** * Fires at the end of the activity entry meta data area. * * @since 1.2.0 */ do_action( 'bp_activity_entry_meta' ); $output .= ob_get_clean(); $has_content = trim( $output, ' ' ); if ( ! $has_content ) { return; } if ( ! $args ) { $args = array( 'classes' => array( 'activity-meta' ) ); } bp_nouveau_wrapper( array_merge( $args, array( 'output' => $output ) ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |