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
    Packages
    Filter by package
    1. mycred/api
    2. mycred/badge
    3. mycred/balance
    4. mycred/banking
    5. mycred/buddypress
    6. mycred/content
    7. mycred/core
    8. mycred/coupon
    9. mycred/email
    10. mycred/game
    11. mycred/hook
    12. mycred/log
    13. mycred/notice
    14. mycred/payment
    15. mycred/purchase
    16. mycred/rank
    17. mycred/stats
    18. mycred/transfer
    19. mycred/twilio
    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
Package: mycred/transfer
A compilation of items related to Transfers via the Transfers add-on.

Codex / mycred/transfer

mycred_get_transferFunction

This function retrieves the myCRED_Transfer object, populated based on the given transfer ID.

mycred_my_transfer_feeShortcode

This shortcode allows you to show the current logged in users transfer fee (if used).

mycred_new_transferFunction
Description This function attempts to process a transfer request that has been submitted by a transfer form. If no transfer form is used and you need to process a new transfer artificially, make sure you simulate a form submission by providing an array of form names and values. This function is only available if the [...]
mycred_pending_transfersShortcode

This shortcode will render a table listing all the pending incoming our outgoing transfers for the user viewing the shortcode.

mycred_pt_get_feeFilter

This filter allows you to adjust the fee amount for each transfer based on your preference.

mycred_refund_transferFunction

This function attempts to refund a completed transfer.

mycred_transferShortcode

This shortcode will generate the transfer form allowing users to send points to each other.

myCRED_TransferObject

The Transfer object is used for creating new transfers, rendering the transfer form or just retreating information about a particular transfer.

mycred_transferFunction

This function will returns the myCRED_Transfer object. Note that this function will not populate the object.

mycred_transfer_acc_limitFilter

This filter allows you to overwrite the minimum account limit for transfers.

mycred_transfer_autofill_byFilter

This filter allows you to add / remove autocomplete options in the Transfer add-on.

mycred_transfer_completedAction

This action indicates the instance when a transfer via the Transfer add-on has been successfully completed.

mycred_transfer_messagesFilter

This filter allows you to adjust the transfer messages that the javascript uses when processing transfer requests.

mycred_transfer_readyAction

Allows you to execute custom code before a new transfer is processed by myCRED.

mycred_twilio_phone_numberFilter

This filter allows you to format a Twilio phone number into the way you format phone numbers on your website.

mycred_user_can_transferFunction

This function checks if a user can afford or allowed to make a transfer of a specified amount of points.

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