mycred_user_row_actions

Description

This filter allows you to remove or add custom action links when viewing your users point balance on the Users page.

Available since version 1.1

Parameters

Param Type Required Description
$actions array Yes

An array of links to show in the balance column.

$user_id int No

The numeric user ID.

$mycred obj No

The myCRED_Settings object set for the particular point type being shown.

Used By

Package Prio. Description
mycred/core 10 Used by the myCRED_Management_Module class.

Examples

Example 1: Add the option to reset a users balance from the Users page in your admin area. Requires myCRED 1.7.3+