Adding WordPress functions to a custom plugin
-
I am writing a custom plugin for my wordpress site but I can’t get the plugin to read the functions in pluggable.php, specificaly the wp_get_current_user() function. Is there a ‘include’ or ‘require’ call I need to add to the plugin files or one of the base wordpress files to get the functions to work?
-
Hi, What site are you working on and is it a WordPress.COM hosted one?If not then your query will get better tailored support over on the WordPress.ORG’s support forum where there will be people who can help with your WordPress.ORG site.
For more info on the differences in case it’s not clear: difference between .COM & .ORG sites .
Thanks for your understanding!
- The topic ‘Adding WordPress functions to a custom plugin’ is closed to new replies.