apply_filters( 'bp_nouveau_activity_buttons', array $value )

Filters the included, specific, Action buttons.

Description

Parameters

$value

The array containing the button params. Must look like: array( 'buttonid' => array( 'id' => 'buttonid', // Id for your action 'caption' => __( 'Button caption', 'text-domain' ), 'icon' => 'dashicons-*', // The dashicon to use 'order' => 0, 'handle' => 'button-script-handle', // The handle of the registered script to enqueue );

Source

File: bp-templates/bp-nouveau/includes/activity/functions.php

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.