Forums
(@jvertucio)
8 years, 11 months ago
When passing auth token, wp_get_current_user() can be used to get the current user. If the return id is 0 then the token is invalid. Simple, really.
wp_get_current_user()
0