In this chapter, we discussed the basic and advanced techniques for implementing content restrictions. Now, I would recommend that you try out the following tasks in order to evaluate the things you learned in this chapter:
- We enabled user role-based restrictions using the shortcodes technique. Implement the same shortcode-based technique for user capabilities.
- We added individual post/page restrictions for individual posts. Try to implement the same technique for user roles, before checking the source codes for this chapter.