mycred_get_account

Retrieves a given users myCRED_Account object.

Referrals

This hook allows you to reward your users with points for referring visits or signups.

Watching Videos

This hook allows you to reward your users with points for watching YouTube or Vimeo videos.

Clicking on Links

This hook allows you to reward your users for clicking on links that are generated using the mycred_link shortcode.

mycred_add_user_meta

A wrapper function for add_user_meta, it assures that point related data is saved under the correct meta key structure.

mycred_set_user_balance

This action allows you to execute custom actions when a users balance is changed to a specific amount.

mycred_best_user

This shortcode allows you to present the “best” user according to their total accumulated balance or by one or more references. The shortcode by default shows the users name and avatar but this can be

mycred_total_points

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 event.

mycred_add_finished

This filter is the last filter that runs once a transaction has been processed, no matter of the outcome.

mycred_run_this

This filter allows you to adjust a request before it is processed by myCRED.

mycred_count_all_ref_instances

This function returns an associative array of references and the number of times each occur in your log.

mycred_count_ref_id_instances

Returns the number of times a specific reference, in combination with a reference ID occurs in the log, with the option to filter by user ID or by point type.

mycred

Constructs and returns the myCRED_Settings object based on a given point type.

mycred_ranking_row

This filter allows you to adjust how each row is rendered in the leaderboard.

mycred_label_my_balance

This filter allows you to change how a users balance is displayed in the toolbar (if used)

mycred_log_date

This filter allows you to customize how the log entry dates are presented.