[wp-hackers] Using WP Functions Within Plugin Classes

Sam Angove sam at rephrase.net
Wed Mar 8 13:54:43 GMT 2006


On 3/9/06, Mark Harwood <mark at phunky.co.uk> wrote:
>
> 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.

is_user_logged_in() is a pluggable function, so your class's
constructor is run before it gets defined.


More information about the wp-hackers mailing list