Working with capabilities in WordPress? Make sure you’ve seen this video

At WordCamp Netherlands 2013, Andrew Nacin gave a talk called “You Don’t Know Query“. It changed the way I write WordPress code. One of the best WordPress-talks I’ve seen.

Andrew Nacin at WordCamp San Francisco 2013

Turns out Andrew did an equally excellent talk that year about working with roles and capabilities. I recently came across a code snippet in a client project that used the “map_meta_caps” hook, and this helped me grasp what it was trying to do.

Some hooks in WordPress are incredibly powerful. In my client’s case, I soon realized that power was being used to shoot us in the foot. But with a decent understanding of how things work, you can use “map_meta_caps” to create great things. I’ll let Nacin explain…

Roy Tanck
I'm a freelance WordPress developer, designer, consultant, meetup organizer and speaker. In my spare time I love to go out and take pictures of things.