All Filters

myCRED Filters

Chapters

Category: Filters

mycred_add

This filter can be used to stop a myCRED point transaction before it is processed.

Continue Reading

mycred_add_finished

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

Continue Reading

mycred_affiliate_cookie

This filter allows you to change the lifespan of the cookies your users receive from the "Points for referrals" hook.

Continue Reading

mycred_affiliate_key

This filter allows you to adjust the referral key that the myCRED hook uses.

Continue Reading

mycred_all_references

This filter allows you to add / remove / rename any of the built-in myCRED references.

Continue Reading

mycred_allowed_tags

This filter allows you to change the HTML elements that myCRED will allow in the history shortcode.

Continue Reading

mycred_apply_exchange_rate

This filter allows you to change the results of the apply_exchange() class method in the myCRED_Settings object.

Continue Reading

mycred_badge_image

This filter allows you to adjust the badge image element before it is rendered.

Continue Reading

mycred_badge_user_value

This filter allows you to adjust the value that badges add-on saves when a user earns a new badge / badge level.

Continue Reading

mycred_banking_save_interest

This filter allows you to add or adjust the settings saved by the compound interest banking service.

Continue Reading

mycred_banking_save_recurring

This filter allows you to save custom settings you might have added to the Recurring Payout service in the Banking add-on.

Continue Reading

mycred_bp_leaderboard_{$column_id}_column

This filter allows you to render the contents of a custom leaderboard column in the myCRED BP Group Leaderboards plugin.

Continue Reading

mycred_bp_leaderboard_columns

This filter allows you to adjust the leaderboard table columns that the myCRED BP Group Leaderboards plugin creates.

Continue Reading

mycred_bp_leaderboard_find_position

This filter allows you to adjust or query a users leaderboard position.

Continue Reading

mycred_bp_leaderboard_get

This filter allows you to adjust or run your own custom query for BuddyPress leaderboards.

Continue Reading

mycred_bp_leaderboard_types

This filter allows you to adjust, add or remove leaderboards types in the myCRED BP Group Leaderboards plugin.

Continue Reading

mycred_bp_rank_in_header

This filter allows you to adjust the way ranks are rendered in the BuddyPress user profile header (if used).

Continue Reading

mycred_bp_rank_in_profile

This filter allows you to adjust the way ranks are rendered in the BuddyPress user profile (if used).

Continue Reading

mycred_buycred_get_cost

This filter allows you to adjust the cost of buying points using the buyCRED add-on.

Continue Reading

mycred_central_banking_ignore

This filter allows you to add references that the Central Banking service should ignore.

Continue Reading

mycred_compound_max_limit

This filter allows you to adjust the number of balances the compound interest banking service will process per instance.

Continue Reading

mycred_compound_pay_max_limit

This filter allows you to adjust the number of compounded interests the banking service will payout per instance.

Continue Reading

mycred_decline_store_purchase

This filter allows you to decline a store purchase where points are used as payment.

Continue Reading

mycred_delete_hook_ref

This filter allows you to adjust the reference that the Points for Deleting Content hook uses when awarding / deducting points.

Continue Reading

mycred_em_approve_on_pay

When using Events Manager, you can select if bookings should be approved on payment or if admin approval is required. In case you select admin approval, you can use this filter to override this and approve the booking when paid using points.

Continue Reading

mycred_email_before_send

This filter allows you to adjust the details of an email notification before it is sent.

Continue Reading

mycred_email_instances

This filter allows you to add / remove or adjust email instances that is selectable when creating or editing an email notice.

Continue Reading

mycred_exclude_user

This filter allows you to exclude users from using myCRED via script.

Continue Reading

mycred_export_headers

This filter allows you to adjust what columns should be included when myCRED log entries are exported.

Continue Reading

mycred_find_users_rank

This filter allows you to run custom scripts when myCRED checks if a user gains a new rank.

Continue Reading

mycred_format_creds

This filter allows you to make adjustments to points before they are rendered on your website.

Continue Reading

mycred_format_number

Adjust how points are formatted before being displayed and before a prefix / suffix is applied.

Continue Reading

mycred_get_content_price

This filter allows you to adjust the price of a given content.

Continue Reading

mycred_get_users_cred

This filter allows you to make adjustments to a users balance as it is retrieved from the database.

Continue Reading

mycred_give_run

This filter controls if the mycred_give shortcode should run or not. It can be used to either disable this shortcode or to limit when or by whom it can be used.

Continue Reading

mycred_has_entry

This filter allows you to made adjustments when myCRED checks for records in the log. Mainly used to enforce rules or to make sure entries are unique.

Continue Reading

mycred_have_ranks

This filter allows you to change the results of checking if any rank post exists, no matter the post status.

Continue Reading

mycred_label

This filter allows you to change the value of the MYCRED_DEFAULT_LABEL constant, re-naming the myCRED plugin.

Continue Reading

mycred_label_my_balance

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

Continue Reading

mycred_link

This filter allows you to adjust the anchor element the mycred_link shortcode renders.

Continue Reading

mycred_log_{column}

This filter allows you to return the content of a custom column that you have added using the mycred_log_column_headers filter.

Continue Reading

mycred_log_bulk_actions

This filter allows you to adjust the bulk actions that are available on the log page in the admin area.

Continue Reading

mycred_log_column_{type}_headers

This filter allows you to adjust the column headers for the log table.

Continue Reading

mycred_log_column_headers

This filter allows you to adjust or add columns that are shown when viewing the log history table.

Continue Reading

mycred_log_date

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

Continue Reading

mycred_log_row_classes

This filter allows you to add custom classes to each table row when viewing the myCRED Log.

Continue Reading

mycred_lotto_payout_type

This filter allows you to change what point type you want users to be paid out in when playing a lottery.

Continue Reading

mycred_lotto_times12

This filter allows you to adjust the available times a lottery can be scheduled using the 12 hour system. This filter is used by the drop-down menus for the lottery schedules.

Continue Reading

mycred_lotto_times24

This filter allows you to adjust the available times a lottery can be scheduled using the 24 hour system.

Continue Reading

mycred_notice_js

This filter allows you to adjust the JavaScript variables used by the Notifications Plus add-on.

Continue Reading

mycred_notifications

This filter is used to pass on notifications from the saved transient to the jQuery script.

Continue Reading

mycred_notifications_note

This filter allows you to made adjustments to the notice template before it is added to the users notice transient.

Continue Reading

mycred_parse_tags_amount

This filter allows you to adjust or add your own custom amount related template tag, to use in log entries.

Continue Reading

mycred_parse_tags_comment

This filter allows you to adjust or add your own custom comment related template tag to use in log entries.

Continue Reading

mycred_parse_tags_general

This filter allows you to adjust or add your own custom generic template tag to use in log entries.

Continue Reading

mycred_parse_tags_post

This filter allows you to adjust or add your own custom post related template tag to use in log entries.

Continue Reading

mycred_parse_tags_user

This filter allows you to adjust or add your own custom user related template tag to use in log entries.

Continue Reading

mycred_post_is_for_sale

This filter allows you to adjust the results of checking if a given post is set for sale using the Sell Content add-on.

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_publish_hook_new

This filter allows you to add custom post statuses that indicates content being "published". This is used by the "Points for publishing content" hook.

Continue Reading

mycred_publish_hook_old

This filter allows you to adjust the post statuses a post needs to transition from in order for the "Points for Publishing Content" hook to reward it with points.

Continue Reading

mycred_publish_hook_ref

This filter allows you to adjust the reference that the Points for Publishing Content hook uses when awarding / deducting points.

Continue Reading

mycred_query_log_args

Used by the myCRED_Query_Log class, this filter allows you to make adjustments to the query arguments before it is run by class.

Continue Reading

mycred_rank_list

This filter allows you to adjust the template used by the mycred_list_ranks shortcode when rendering each rank you have setup for a particular point type.

Continue Reading

mycred_ranking_row

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

Continue Reading

mycred_ranking_sql

This filter allows you to adjust the Leaderboard SQL query before it is executed.

Continue Reading

mycred_recurring_max_limit

This filter allows you to adjust the number of users the recurring payout banking service will process per instance.

Continue Reading

mycred_register_ranks

This filter lets you make adjustments to the Ranks post type settings before it is handed over to the register_post_type function.

Continue Reading

mycred_run_this

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

Continue Reading

mycred_scratch_card_templates

This filter allows you to add, replace or remove templates for the Scratch Card add-on.

Continue Reading

mycred_scratch_everyonewins

This filter allows you to create scratch card sets where all cards are winners.

Continue Reading

mycred_sell_content_priority

This filter allows you to change the priority of the Sell Content add-ons content filtering.

Continue Reading

mycred_sell_exp_title

This filter lets your change the title used to mark the expiration length measurement.

Continue Reading

mycred_sell_expire_calc

By default, myCRED allows you to let purchases expire after a certain number of hours. This filter lets you change this calculation from hours to any other time measurements.

Continue Reading

mycred_sell_this_button

This filter allows you to make adjustments to the button the Sell Content add-on renders for users who have not purchased access to content set for sale.

Continue Reading

mycred_sell_this_label

This filter allows you to rename the "myCRED Sell This" metabox that the Sell Content add-on provides for your posts and pages.

Continue Reading

mycred_send_language

This filter lets you change the language used for the button in the mycred_send shortcode.

Continue Reading

mycred_setup_addons

This filter allows you to register your own add-ons or remove/disable existing add-ons.

Continue Reading

mycred_setup_banking

This filter allows you to register your own banking services or remove/disable existing services.

Continue Reading

mycred_setup_hooks

This filter allows you to add custom hooks or remove built-in ones.

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_messages

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

Continue Reading

mycred_twilio_format_phone_number

This filter allows you to adjust a given phone numbers formating.

Continue Reading

mycred_twilio_get_sender

This filter allows you to adjust the results when the Twilio Transfer plugin tries to tie a phone number to a user on your website.

Continue Reading

mycred_twilio_get_senders_id

This filter allows you to adjust the results when the Twilio Transfer plugin tries to tie a phone number to a user on your website.

Continue Reading

mycred_twilio_get_users_number

This filter allows you to adjust the results where the Twilio Transfers plugin tries to find the phone number of a given user.

Continue Reading

mycred_twilio_parse_sms

This filter allows you to adjust the SMS message body when received by the Twilio Transfers plugin.

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_twilio_xml_response

This filter allows you to make adjustments to the response SMS body before it is sent to Twilio.

Continue Reading

mycred_user_has_paid_for_content

This filter allows you to indicate if the current user has paid / not paid for a particular content.

Continue Reading

mycred_user_row_actions

This filter allows you to remove or add custom action links when viewing your users point balance on the Users page.

Continue Reading

mycred_userpro_insufficient

This filter allows you to adjust the message a user sees in the chat window when they have run out of funds. Used by the UserPro Private Messaging hook.

Continue Reading

mycred_userpro_stop_message

This filter allows you to stop a private message from being sent and instead trigger the "Insufficient Funds" message. Used by the UserPro Private Messaging hook.

Continue Reading

mycred_users_of_rank

This filter allows you to filter the row template for the mycred_users_of_rank shortcode.

Continue Reading

mycred_users_profile_url

This filter allows you to adjust what URL the %user_profile_url% and the %user_profile_link% template tags point to.

Continue Reading

mycred_video_output

This filter allows you to adjust the video embed that is generated by the mycred_video add-on.

Continue Reading

mycred_video_query_youtube

This filter allows you to make changes to the youtube video query.

Continue Reading

mycred_woo_order_cost

This filter allows you to adjust how much a users total order or cart total costs converted into points.

Continue Reading

mycred_woo_reward_cap

This filter allow you to adjust the capability required for the "myCRED" point reward metabox to be visible when editing a WooCommerce product.

Continue Reading

mycred_woo_reward_log

This filter allows you to adjust the log entry myCRED adds with each WooCommerce store reward payout.

Continue Reading