Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $minimum = 100;
- if ( is_user_logged_in() && ( function_exists( 'mycred_get_users_cred' ) && mycred_get_users_cred( get_current_user_id() ) >= $minimum ) ) {
- // The current user has minimum 100 points
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement