apply_filters( 'bp_nouveau_activity_buttons', array $value )

Filters the included, specific, Action buttons.


Description Description


Parameters 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 );


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.