mycred_subtract

This function allows you to decrease a users balance by deducting a specific amount from it.

mycred_add

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.

mycred_exclude_user

Checks if a given user is excluded from using a particular point type.

myCRED_Query_Log

The myCRED_Query_Log class handles all log queries and optionally present the results by constructing a HTML table.

myCRED_Payment_Gateway

The myCRED_Payment_Gateway is a template class used by the buyCRED Add-on. It contains all the necessary class methods along with a set of template functions.

myCRED_Hook

myCRED_Hook is an abstract class used by all myCRED Hooks. It contains commonly used methods to help you build hooks without to much programming.

myCRED_Module

The myCRED_Module is an abstract class used by all myCRED add-ons and core modules. It contains commonly used methods to help you build modules without to much programming.

myCRED_Settings

This class is the most commonly used and essential class in myCRED. Besides retrieving our settings, this class contain a set of methods which presents, manages, processes actions based on these settings.