Vijay Rajasekaran

less info
8 reputation
4
bio website
location
age
visits member for 10 months
seen yesterday

Mar
10
awarded  Tumbleweed
Mar
3
revised How to Capture Postback Data in Wordpress
added 268 characters in body
Mar
3
asked How to Capture Postback Data in Wordpress
Feb
16
awarded  Scholar
Feb
16
accepted How to add menu to Dashboard that can be viewed by all users
Feb
15
awarded  Student
Feb
15
comment How to add menu to Dashboard that can be viewed by all users
Thank you so much.. Works perfect! :-)
Feb
14
asked How to add menu to Dashboard that can be viewed by all users
Sep
7
comment How to access User meta data within a plugin
Thank you so much. I will try it out.
Sep
7
awarded  Editor
Sep
7
comment How to access User meta data within a plugin
@CharlesClarkson I have added the code in the question. Please look at the last two lines of code. I am trying to print the id of the user. It works when used in the theme files but not inside the plugin. Thanks.
Sep
7
revised How to access User meta data within a plugin
added 1627 characters in body
Sep
7
comment How to access User meta data within a plugin
Code i am trying to add in the plugin file: $user = get_userdatabylogin('vijay'); echo $user->ID; // prints the id of the user; When i add the above code in the theme files, it works.
Sep
7
comment How to access User meta data within a plugin
@CharlesClarkson Fatal error: Call to undefined function get_userdata() in C:\wamp\www\wordpress\wp-content\plugins\testplugin\testplugin.php on line 99
Sep
7
asked How to access User meta data within a plugin