Constructs and returns the myCRED_Settings object based on a given point type.
Constructs and returns the myCRED_Settings object based on a given point type.
The account object is an “umbrella” object of a given users myCRED related data. This includes their balance, history and data related to any add-ons that are enabled in your installation.
This action indicates the instance where myCRED has finished registering all the wp-admin screens.
A wrapper function for add_user_meta, it assures that point related data is saved under the correct meta key structure.
This action indicates the instance where myCRED has enqueued all scripts and styling in the admin area.
This action indicates the instance where myCRED has finished running tasks when the wp-admin area is initiated.
This filter allows you to change the lifespan of the cookies your users receive from the "Points for referrals" hook.
Used by the Point for referrals hook, this shortcode will return the current logged in users referral ID.
This filter allows you to adjust the referral key that the myCRED hook uses.
Used by the Point for referrals hook, this shortcode will append the current users referral link to a given URL. If no URL is given, the current page's URL is used.
This action indicates the instance when the myCRED plugin has been deleted.
This filter allows you to change the results of the apply_exchange() class method in the myCRED_Settings object.
This action indicates the instance when the myCRED plugin is about to be deleted.
This function checks if the central log feature is enabled on a Multisite installation.
This function will convert a well formatted date to a GMT unix timestamp.
This action indicates the instance when the myCRED plugin has been disabled.
A wrapper function for delete_user_meta, it assures that point related data is deleted under the correct meta key structure.
This shortcode allows your users to exchange one particular point type for another based on an exchange rate that you set for the shortcode. You can use the shortcode multiple times to allow exchanges between multiple types but exchanges can only be done in one direction per shortcode.
Checks if a given user is excluded from using a particular point type.
This filter allows you to exclude users from using myCRED via script.
This filter allows you to adjust what columns should be included when myCRED log entries are exported.
Wrapper function for wp_cache_delete for deleting widget caches. Used when myCRED widget settings are saved.
This function is used throughout myCRED to prevent users from attempting to submit AJAX forms multiple times.
This action indicates the instance when scripts and styles needs to be enqueued for the front end of your website.
This function will return a specific myCRED Module object.
This function returns a specific point type's given name in singular or plural form.
This function returns the Remove API (version 1.0) settings.
This function returns the network settings on a Multisite installation.
This function will attempt to return a user ID based on either an identifying piece of information (email, login or slug) or based on keywords.
This function will return a given users profile URL based on your websites setup.
This shortcode allows you to give your users points when this shortcode is rendered. These points are created “out of thin air and not from a specific account / user. You can insert this in page/post content or in a template file.
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.
This shortcode allows you to hide parts of your content for those who fulfil the requirements you set. This shortcode is the opposite of the mycred_show_if shortcode. You can set a balance requirement, rank requirement (if the Ranks add-on is enabled) or a reference count.
myCRED_Hook is an abstract class used by all myCRED Hooks. It contains commonly used methods to help you build hooks without to much programming.
This shortcode will generate a table where all enabled hooks for a particular point type is listed. You can use this to show how your users can earn points based on how you setup your hooks.
This action indicates the instance where myCRED is ready to run it’s initial actions.
This function checks if a specific user is to be considered an "administrator".
This filter allows you to change the value of the MYCRED_DEFAULT_LABEL constant, re-naming the myCRED plugin.
This shortcode allows you to award or deduct points from the current user when their click on a link. This shortcode will always generate a link, even if the user viewing it has already clicked on it / reached their limit or if the shortcode is viewed by a user that is logged out. However no points will be paid out unless the user is logged in, are not excluded and have not yet reached the limit you might have set for the “Points for clicking on links” hook.
This filter allows you to adjust the anchor element the mycred_link shortcode renders.
The myCRED_Module is an abstract class used by all myCRED add-ons and core modules. It contains commonly used methods to help you build modules without to much programming.
This shortcode allows you to show a given users or the current users position in a particular leaderboard. Nothing will be returned if the user viewing the shortcode is not logged in
This function checks if the master template feature is enabled on a Multisite installation.
This shortcode allows the user viewing the shortcode to send a pre-set amount of points under a specific reference to a pre-selected user. Basically this is a very very basic transfer shortcode where the amount, recipient and log template is already set.
This action fires once myCRED is ready after that modules have been loaded but before the init
action.
The mycred_referral_stats shortcode is associated with the referral hook which displays the total count of referred visitors/sign ups users.
This shortcode allows the user viewing the shortcode to send a pre-set amount of points under a specific reference to a pre-selected user. Basically this is a very very basic transfer shortcode where the amount, recipient and log template is already set.
This filter lets you change the language used for the button in the mycred_send shortcode.
This action allows you to execute custom actions when a users balance is changed to a specific amount.
This class is the most commonly used and essential class in myCRED. Besides retrieving our settings, this class contain a set of methods which presents, manages, processes actions based on these settings.
This filter allows you to register your own add-ons or remove/disable existing add-ons.
This filter allows you to add custom hooks or remove built-in ones.
This shortcode allows you to show parts of your content for those who fulfil the requirements you set. This shortcode is the opposite of the mycred_hide_if shortcode. You can set a balance requirement, rank requirement (if the Ranks add-on is enabled) or a reference count.
This action fires directly after myCRED has setup the WordPress Toolbar items.
This filter allows you to remove or add custom action links when viewing your users point balance on the Users page.
This filter allows you to adjust what URL the %user_profile_url% and the %user_profile_link% template tags point to.
This shortcode is used to embed YouTube videos via IFRAME in order to allow us to award points for users who view the video. Videos that are embedded without using this shortcode can not award points for viewing.
This filter allows you to adjust the video embed that is generated by the mycred_video add-on.
This filter allows you to make changes to the youtube video query.
This action fires once myCRED has loaded and registered all widgets.