[wp-hackers] Using WP Functions Within Plugin Classes

Mark Harwood mark at phunky.co.uk
Wed Mar 8 14:02:38 GMT 2006


Right, that makes sense now!

I assume theres a action to allow it to load after all the WordPress 
Functions??

Mark

Sam Angove wrote:

>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.
>_______________________________________________
>wp-hackers mailing list
>wp-hackers at lists.automattic.com
>http://lists.automattic.com/mailman/listinfo/wp-hackers
>  
>



More information about the wp-hackers mailing list