Title: fetch assigned points for custom post
Last modified: August 22, 2016

---

# fetch assigned points for custom post

 *  Resolved [Rohan Veer](https://wordpress.org/support/users/rohanveer/)
 * (@rohanveer)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fetch-assigned-points-for-custom-post/)
 * Hi,
    I want to fetch the assigned points for a particular user but I don’t want
   total points. I want to fetch the added points but for custom post only.
 * [https://wordpress.org/plugins/mycred/](https://wordpress.org/plugins/mycred/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [myCred](https://wordpress.org/support/users/designbymerovingi/)
 * (@designbymerovingi)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fetch-assigned-points-for-custom-post/#post-5516258)
 * Hey.
 * If you are looking to get a users points balance then this Codex documentation
   is a great place to start: [http://codex.mycred.me/the-mycred-logic/](http://codex.mycred.me/the-mycred-logic/).
 * Basically you can get a users balance either by using [get_user_meta](http://codex.wordpress.org/Function_Reference/get_user_meta)
   which WordPress provides or use i.e. the [mycred_get_users_cred](http://codex.mycred.me/functions/mycred_get_users_cred/)
   function which myCRED provides:
 *     ```
       $point_type = 'mytype';
       $balance = mycred_get_users_cred( get_current_user_id(), $point_type );
       ```
   
 * If you need to handle multiple balances you can also have a look at the [mycred](http://codex.mycred.me/functions/mycred/)
   function.

Viewing 1 replies (of 1 total)

The topic ‘fetch assigned points for custom post’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [myCred](https://wordpress.org/support/users/designbymerovingi/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/fetch-assigned-points-for-custom-post/#post-5516258)
 * Status: resolved