apply_filters( 'bp_nouveau_activity_buttons', array $value )
Filters the included, specific, Action buttons.
Parameters Parameters
- $value
-
(array) 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 Source
File: bp-templates/bp-nouveau/includes/activity/functions.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |