[wp-hackers] wp-hackers Digest, Vol 65, Issue 47

Ash Goodman ash at thinkinginvain.com
Mon Jun 21 12:31:16 UTC 2010


Hi Dion, no worries about basic, I am still a learner :)

Here is the output:

array(2) { [0]=> string(7) "canread" ["singleseat"]=> string(1) "1" }
array(1) { [0]=> string(10) "singleseat" }

Thanks for looking at this.

Ash

On 21 June 2010 20:00,  <wp-hackers-request at lists.automattic.com> wrote:
> What about this? I realise it may seem basic, i'm just trying to figure
> out where the cause could be in this case.
>
> global $current_user;
> var_dump($current_user->allcaps, $current_user->roles);


More information about the wp-hackers mailing list