Package: mycred/balance

Codex / mycred/balance

mycred_add

Package: mycred/balance Category: Functions

Adds a given amount of creds to a specific user. Once the users balance has been updated, a new log entry is made under the given reference.

Removes a given amount of creds from a specific user. Once the users balance has been updated, a new log entry is made under the given reference.

This shortcode allows you to show the total amount of points currently in circulation or the total amount of points awarded or deducted from your users for a specific instance.