The Power of WordPress’ Roles and Capabilities: Understanding map_meta_cap–WordCamp Toronto Developers 2012

Today I delivered a followup talk to The Power of WordPress’ Roles and Capabilities that delves into the map_meta_cap filter. This presentation is intended for developers who need greater control over permissions than roles alone provide.

Here’s the abstract:

In the second installment of this talk, I’ll discuss the true power behind WordPress’ roles and capabilities system, map_meta_cap. Starting with an overview of how it relates to the system as a whole, including the functions discussed in the first installment, this talk will then use real-world examples to demonstrate how the map_meta_cap function and filter can be properly used to fully leverage WordPress’ capabilities system. For anyone who’s ever needed to conditionally grant or deny a user or group of users a certain ability, or wondered what the map_meta_cap flag in register_post_type() does, this talk will provide the answers.

Slides are available here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)