2012-12-24, 03:10:58
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
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