[wp-hackers] Using WP Functions Within Plugin Classes
mark at phunky.co.uk
Wed Mar 8 13:48:28 GMT 2006
Wonder if you could help me with a little problem ive stumbled apon, im
writing a new plugin for a Private Messaging System.
Take a look at the code here - http://pastecode.net/?action=viewpost&tag=720
As you can see theres nothing happening apart from running a check to
see if the user is logged in. For some unknown reason
|is_user_logged_in() |refuses to run within the plugin class.
Is there any reason for this? i guess im missing something stupidly simple.
Mark 'Phunky' Harwood
Founder of EuroCSS.NET
More information about the wp-hackers