Support » Plugin: Content Control - User Access Restriction Plugin » Missing shortcodes documentation

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @cmsplay – Sorry to hear that, though I think there is some confusion. There is only one shortcode, and it isn’t super complex. Its been documented in the description for some time now:

    [content_control roles=”subscriber,editor” logged_out=”0″ class=”custom-css-class” message=”You don’t have access to this.”]Logged in content[/content_control]
     
    All parameters are optional:
    
    roles – comma list of user roles that can see this content.
    logged_out (default:0) – 0 or 1 for false/true. Checks whether the user should be logged out, as opposed to logged in.
    class – custom CSS class to add to the controlled content for additional styling.
    message – custom denial message.
    

    What more docs do you feel are needed if I might ask?

    • This reply was modified 2 weeks, 6 days ago by Daniel Iser.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this review.