Support » Plugin: Content Blocks (Custom Post Widget) » How to make button restricted by role

  • Hi, is there a way to limit the content block button the the text editor by role? I see the code on post-widget.php on lines 431-445. How can I make it conditional so that only admins have the button?

  • The topic ‘How to make button restricted by role’ is closed to new replies.