Add capability for a single page (2 posts)

  1. gpspake
    Posted 3 years ago #

    This seems like it should be very easy but I'm having the hardest time.
    I want to grant the capabilities 'edit_pages" and 'edit_published_pages' to the subscriber role but only for one page.

    //If I can use if
    //Then it would seem logical that I could use $role->add_cap('edit_page',594)

    Unfortunately I'm not having much luck.

  2. lunarmobiscuit
    Posted 2 years ago #

    Yes, it was difficult to figure out, but there is now a plugin to do this. Per Post Editors. http://wordpress.org/plugins/per-post-editors/

Topic Closed

This topic has been closed to new replies.

About this Topic