Quantcast
Channel: WordPress.org Forums
Viewing all articles
Browse latest Browse all 46187

candy2012 on "[Plugin: Secure Invites] Can't get those points to show in user profile"

$
0
0

OK, took a while, but that's how you need to integrate it:
´
<?php
global $current_user;
$current_user = wp_get_current_user();
$user_points = get_user_meta( $current_user->ID,'secure_invite_points', true );
echo '<p>Your points: ' . $user_points . '
</p>';
?>
´

PS: developers, you give faulty instructions about how to integrate this!
The get_usermeta function you tell us to use is LONG DEPRECATED!


Viewing all articles
Browse latest Browse all 46187

Trending Articles