Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
identify user within plugin
#1
Hi - there seems to be good documentation on hooks/filters, but I'd like to be able to identify a user within a plugin (so that I can conditionally let them do something).

I think I can see how it's done in the multi-user plugin:
$current_user = get_cookie('GS_ADMIN_USERNAME');
which is not exactly re-assuring, and I worry that it might change in future versions.

Have I missed a section of the docs that tell me formally about this? Or is this something still too early in the development phase to be used?

Thank you
Reply


Messages In This Thread
identify user within plugin - by drking - 2012-12-24, 03:10:58
RE: identify user within plugin - by shawn_a - 2012-12-24, 04:05:29
RE: identify user within plugin - by drking - 2012-12-24, 04:18:04



Users browsing this thread: 1 Guest(s)