Codex / mycred/transfer / Shortcodes / 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.

Requires the Transfer add-on to be enabled along with the Transfer Plus add-on being installed and enabled.

Available since version 1.0

Shortcode Attributes

Attribute Type Required Default Description
user_id int No current Option to show a particular users transfer fee instead of the current user viewing the shortcode.
ctype string No MYCRED_DEFAULT_TYPE_KEY The point type to show fees for. Should not be used if you only have one point type installed. If you have multiple point types and users are not allowed to transfer the default point type but your custom point type, this attribute must be used!
nofee string No - Optional message to show users that do not have a transfer fee. By default the shortcode will show nothing if the user has no transfer fees.

CSS Styling { } span.fee-amount { } span.fee-min { } span.fee-max { }


Example 1: Default usage.

My Transfer Fee

Last edited June 23, 2016