Chapters

Category: mycred/transfer

A compilation of items related to Transfers via the Transfers add-on.

mycred_get_transfer

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

Continue Reading

mycred_my_transfer_fee

This shortcode allows you to show a users transfer fee when using the Transfer Plus plugin. You can select to show the fee for either the current user viewing the shortcode or a specific user’s fee.

Continue Reading

mycred_new_transfer

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.

Continue Reading

mycred_pending_transfers

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

Continue Reading

mycred_pt_get_fee

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

Continue Reading

mycred_refund_transfer

This function attempts to refund a completed transfer.

Continue Reading

mycred_transfer

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

Continue Reading

myCRED_Transfer

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

Continue Reading

mycred_transfer

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

Continue Reading

mycred_transfer_acc_limit

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

Continue Reading

mycred_transfer_autofill_by

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

Continue Reading

mycred_transfer_completed

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

Continue Reading

mycred_transfer_messages

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

Continue Reading

mycred_transfer_ready

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

Continue Reading

mycred_twilio_phone_number

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

Continue Reading

mycred_user_can_transfer

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

Continue Reading