Tag: arrays

  • How to create a roles based query in wordpress

    , , ,

    Wordpress is a really flexibile CMS, but it is not perfect and sometimes it is truly inefficiant. Lately i needed to create a query that bring back multiple users by roles. Now wordpress have a user query but it doesn’t allow you to pass an array of roles. So, let’s see a work around.

  • Arrays 101


    Arrays are one of the most importat tools for any developer. It help to orgenize data from a simple to a complex structures. The most used styled arrays are indexical and associative arrays