A free points management plugin for WordPress.
myCRED Logo
myCRED Logo
  • Membership New
  • Chapters
    • Chapter I – Introduction
    • Chapter II – Getting Started
    • Chapter III – Add-ons
    • Chapter IV – Premium Add-ons
    • Chapter V – For Developers
    • Chapter VI – Reference Guides
  • Categories
    • Actions
    • Classes
    • Constants
    • Filters
    • Functions
    • Objects
    • Shortcodes
    • Hooks
    • Template Tags
  • Packages
    • mycred/api
    • mycred/badge
    • mycred/balance
    • mycred/banking
    • mycred/content
    • mycred/core
    • mycred/coupon
    • mycred/email
    • mycred/game
    • mycred/log
    • mycred/notice
    • mycred/payment
    • mycred/purchase
    • mycred/rank
    • mycred/transfer
  • Store
  • Download
    Navigation
    • Loading navigation ...
    All Actions
    myCRED actions
    1. mycred_add_menu
    2. mycred_admin_enqueue
    3. mycred_admin_init
    4. mycred_after_deletion
    5. mycred_after_notifications
    6. mycred_banking_compound_interest
    7. mycred_banking_recurring_payouts
    8. mycred_before_deletion
    9. mycred_before_notifications
    10. mycred_deactivation
    11. mycred_email_sent
    12. mycred_front_enqueue
    13. mycred_init
    14. mycred_pre_init
    15. mycred_set_user_balance
    16. mycred_tool_bar
    17. mycred_transfer_completed
    18. mycred_transfer_ready
    19. mycred_twilio_action_$action
    20. mycred_twilio_after_prefs
    21. mycred_twilio_incoming_sms
    22. mycred_twilio_transfer_cancelled
    23. mycred_twilio_transfer_finished
    24. mycred_update_user_balance
    25. mycred_user_got_demoted
    26. mycred_user_got_promoted
    27. mycred_widgets_init
    Categories
    Filter by category
    1. Actions
    2. Classes
    3. Filters
    4. Functions
    5. Hooks
    6. Objects
    7. Shortcodes
    8. Template Tags
    Chapters
    Documentation
    1. Chapter I - Introduction
    2. Chapter II - Getting Started
    3. Chapter III - Add-ons
    4. Chapter IV - Premium Add-ons
    5. Chapter V - For Developers
    6. Chapter VI - Reference Guides
mycred_transfer_completed

Codex / mycred/transfer / Actions / mycred_transfer_completed

Description

This action indicates the instance when a transfer via the Transfer add-on has been successfully completed. This action will not fire if the transaction was declined for some reason.

Available since version 1.2

Parameters
Param Type Required Description
$transfer_id int No

A unique transaction ID, generated by the transfer add-on.

$request array No

An associative array containing the transfer request. If you need to adjust the request, consider using the mycred_new_transfer_args filter instead.

Please see the table below for all the available data.

$settings array No

The transfer add-on settings.

Request Array
Key Type Description
transaction_id string A unique transaction ID
sender_id int The numeric ID of the user that sent the transfer.
recipient_id int The numeric ID of the user that received the transfer.
reference string The reference used for the transfer.
charge int or float The point amount the sender nominated to transfer.
payout int or float The point amount the recipient received from this transfer.
point_type string The point type that was transferred.
data array Array of additional data, such as the transfer message, if allowed.
Used By
Package Prio. Description
Not used by any built-in package.
0

About myCred

myCred is a free, open-source and developer friendly points management tool for WordPress powered websites.

Download Rate Plugin

Documentation

  • Add-ons
  • Core Shortcodes
  • F.A.Q.
  • Tutorials
  • Third Party Plugins
  • Code Snippets

Support

  • Product Licenses
  • Customization
  • Support Forums
  • Plugin Changelog
  • Contact

Copyright 2013 - 2021 by WPExperts; All rights reserved. myCred is licensed under GPL 2.0

Terms & Conditions • Use of Cookies • Store Policy • Community Rules

Suggest Codex Example

You can submit suggestions for codex examples that you have available as a public gist. If you are a member on the mycred.me website, you can earn Tokens for each submission. To claim these Tokens, make sure you provide your mycred.me username.

Please make sure the example you submit is relevant and if you include documentation, it's provided in English.

logo
  • Membership New
  • Chapters
    • Chapter I – Introduction
    • Chapter II – Getting Started
    • Chapter III – Add-ons
    • Chapter IV – Premium Add-ons
    • Chapter V – For Developers
    • Chapter VI – Reference Guides
  • Categories
    • Actions
    • Classes
    • Constants
    • Filters
    • Functions
    • Objects
    • Shortcodes
    • Hooks
    • Template Tags
  • Packages
    • mycred/api
    • mycred/badge
    • mycred/balance
    • mycred/banking
    • mycred/content
    • mycred/core
    • mycred/coupon
    • mycred/email
    • mycred/game
    • mycred/log
    • mycred/notice
    • mycred/payment
    • mycred/purchase
    • mycred/rank
    • mycred/transfer
  • Store
  • Download