This function will assign ranks to users based on their balance.
This function will assign ranks to users based on their balance.
This filter allows you to adjust the way ranks are rendered in the BuddyPress user profile header (if used).
This filter allows you to adjust the way ranks are rendered in the BuddyPress user profile (if used).
This function will attempt to find a given users rank of a specific point type. This function can be used to just query which rank a user should have or also save this rank.
This filter allows you to run custom scripts when myCRED checks if a user gains a new rank.
This function returns the current users myCRED rank object. Uses the mycred_get_users_rank function.
This function will return the myCRED Rank Object for a given rank ID.
This function attempts to convert a given rank name into it's post object ID.
This function allows you to query existing ranks for a specific point type.
This function allows you to query users of a specific rank.
This function will retrieve a given users current rank object for a specific point type.
This function returns a given users current rank post object ID of a specific point type.
This function checks if there are published rank post objects for a particular point type.
This filter allows you to change the results of checking if any rank post exists, no matter the post status.
This shortcode allows you to list all ranks with the point requirements and / or the members count for each rank. You can customize how each row is presented by wrapig the shortcode around your template.
This shortcode allows you to show the rank title or logo of the user viewing the shortcode. Will not show anything if viewed by someone who is not logged in.
This shortcode allows you to show all ranks a user currently has. Note that this is only usable when you have ranks for multiple point types.
The rank object contains the rank post object, the set title, logo details, requirements and user count.
This function checks if a given rank has a logo using the has_post_thumbnail function.
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.
This custom shortcode allows you to show a progress bar for your users current rang. You can select the colors to use, if the progress bar should be animated and to show the minimum and maximum rank requirement for the users current rank under the progress bar.
This filter lets you make adjustments to the Ranks post type settings before it is handed over to the register_post_type function.
This action hook fires each time a user has demoted to a rank that has a lower minimum point requirement set then their previous rank.
This action hook fires each time a user has promoted to a rank that has a higher minimum point requirement set then their previous rank.
This shortcode returns a list of users for each role in descending order. By default all users are returned for each rank but you can change this to any number.
This shortcode returns a list of users for a specific published role, ordered by their account balance. By default all users are returned for the given rank but you can set how many users to return.
This filter allows you to filter the row template for the mycred_users_of_rank shortcode.