{"id":2364,"date":"2023-08-29T08:51:32","date_gmt":"2023-08-29T08:51:32","guid":{"rendered":"https:\/\/wpcode.com\/?post_type=wpcode_doc&#038;p=2364"},"modified":"2026-10-07T08:59:15","modified_gmt":"2026-10-07T12:59:15","slug":"access-control","status":"publish","type":"wpcode_doc","link":"https:\/\/wpcode.com\/docs\/access-control\/","title":{"rendered":"Access Control"},"content":{"rendered":"<p>Would you like to let other people on your site manage code snippets without giving them a full administrator account?<\/p>\n<p>In this guide, we&#8217;ll walk you through WPCode&#8217;s Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen.<\/p>\n<div class=\"alert alert-warning\">\n<p><strong>Requirements<\/strong>: Access Control settings require a pro license level or higher.<\/p>\n<\/div>\n<ul class=\"toc\">\n<li><a href=\"#setting-snippet-permissions-by-user-role\">Setting Snippet Permissions by User Role<\/a><\/li>\n<li><a href=\"#granting-access-to-conversion-pixels-and-the-file-editor\">Granting Access to Conversion Pixels and the File Editor<\/a><\/li>\n<li><a href=\"#turning-off-php-snippets-site-wide\">Turning Off PHP Snippets Site Wide<\/a><\/li>\n<\/ul>\n<p>Before you get started, make sure WPCode is <a href=\"https:\/\/wpcode.com\/docs\/how-to-install-the-wpcode-plugin\/\" target=\"_blank\" rel=\"noopener\">installed and activated<\/a> on your WordPress site.<\/p>\n<h2 id=\"setting-snippet-permissions-by-user-role\">Setting Snippet Permissions by User Role<\/h2>\n<p>To get started, we&#8217;ll work out which permission each role on your site needs.<\/p>\n<p>Access Control works off <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/wordpress-user-roles-and-permissions\/\" target=\"_blank\" rel=\"nofollow noopener\">WordPress user roles<\/a>. You pick a permission. Then you pick the roles that get it.<\/p>\n<p>From your WordPress admin sidebar, go to <strong>Code Snippets \u00bb Settings<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_01_navigate.webp?v=6b4a0ef9\" alt=\"The WPCode settings screen with the Code Snippets submenu shown in the sidebar and Settings highlighted\" \/><\/p>\n<p>Then select the <strong>Access Control<\/strong> tab.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_02_access_tab.webp?v=73364f2b\" alt=\"The WPCode settings tab row with an arrow pointing at the Access Control tab\" \/><\/p>\n<p>The panel holds five permissions. The first three cover snippet editing, split by code type. Each one has its own field for choosing roles.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_03_permission_rows.webp?v=437eb57f\" alt=\"The Access Control panel showing the Edit Text\/Blocks Snippets, Edit HTML, JavaScript &amp; CSS Snippets, and Edit PHP Snippets permission rows, each with an empty role field\" \/><\/p>\n<p>Every field starts empty. WPCode keeps all of it with administrators until you name a role, so you decide exactly what to open up and when.<\/p>\n<p>These three build on each other. You only need to grant the one that matches how much reach you want a role to have.<\/p>\n<p><strong>Edit Text\/Blocks Snippets<\/strong> is the narrowest of the three. It covers snippets made of plain text and blocks, formatted the way you format them in the WordPress editor. No code goes in them, which makes this the permission to use for someone who writes copy rather than markup.<\/p>\n<p><strong>Edit HTML, JavaScript &amp; CSS Snippets<\/strong> covers markup, scripts, and styles, along with text and blocks snippets and SCSS. It also opens the <a href=\"https:\/\/wpcode.com\/docs\/using-the-global-header-footer-settings\/\" target=\"_blank\" rel=\"noopener\">Global Header and Footer<\/a> screen, since that screen holds the same kind of code. Grant this to a role that works on front-end code but not PHP.<\/p>\n<p><strong>Edit PHP Snippets<\/strong> is the widest. It covers PHP and Universal snippets plus every other snippet type. It also opens the WPCode Library, the snippet generators, and the Tools screen.<\/p>\n<p>Grant this permission to roles you trust with server-side code.<\/p>\n<p>Administrator is not listed in any of these fields. Administrators already hold every WPCode permission, so there is nothing to hand them.<\/p>\n<p>To give a role a permission, click the field next to it.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_04_role_dropdown.webp?v=430d2f9f\" alt=\"An arrow pointing at the role field beside the Edit HTML, JavaScript &amp; CSS Snippets permission\" \/><\/p>\n<p>The list that opens holds every role on your site apart from Administrator, including any role a theme or another plugin added.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_05_role_list.webp?v=585bd797\" alt=\"The open role list showing Editor, Author, Contributor, Subscriber, Customer, and Shop manager\" \/><\/p>\n<p>From the list, choose a role. It appears in the field as a tag.<\/p>\n<p>Each field takes as many roles as you need, so you can add several at once. The small x on a tag removes it again.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_06_role_selected.webp?v=256644cb\" alt=\"The Edit HTML, JavaScript &amp; CSS Snippets permission with Editor added as a tag, below the still-empty Edit Text\/Blocks Snippets row\" \/><\/p>\n<p>The <strong>Edit Text\/Blocks Snippets<\/strong> field above it stays empty. Editor does not need it, because the HTML, JavaScript, and CSS permission already covers text and blocks snippets.<\/p>\n<p>The panel saves as a whole, so your role choices are stored the moment you save at the bottom of the page. That is the last step in this guide.<\/p>\n<p>With the snippet permissions set, the remaining two rows on the panel cover WPCode&#8217;s other screens.<\/p>\n<h2 id=\"granting-access-to-conversion-pixels-and-the-file-editor\">Granting Access to Conversion Pixels and the File Editor<\/h2>\n<p>The last two permissions on the panel work differently from the snippet ones. Each opens a single WPCode screen and nothing else, which makes them useful for handing one job to one person.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_07_pixels_file_editor.webp?v=7538c21a\" alt=\"The Manage Conversion Pixels Settings and Use the File Editor permission rows, both with empty role fields\" \/><\/p>\n<p><strong>Manage Conversion Pixels Settings<\/strong> covers the Conversion Pixels screen: a tab for each pixel platform plus the <a href=\"https:\/\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/\" target=\"_blank\" rel=\"noopener\">click-tracking tab<\/a>. This is the permission for whoever runs your advertising, because it lets them set up tracking without reaching any of your snippets.<\/p>\n<p><strong>Use the File Editor<\/strong> covers the <a href=\"https:\/\/wpcode.com\/docs\/file-editor\/\" target=\"_blank\" rel=\"noopener\">File Editor<\/a> screen, where WPCode edits the four files it manages: ads.txt, app-ads.txt, service-worker.js, and robots.txt. Like the pixels permission, it stops there.<\/p>\n<p>None of the five permissions gives a role access to the WPCode settings pages or to the connection between your site and the WPCode Library. Those stay with administrators.<\/p>\n<div class=\"alert alert-info\">\n<p><strong>Note:<\/strong> While your site is <a href=\"https:\/\/wpcode.com\/docs\/deploy-from-library-missing-permissions\/\" target=\"_blank\" rel=\"noopener\">connected to the WPCode Library<\/a>, a role with <strong>Edit PHP Snippets<\/strong> can also manage the snippets in your private library. If you would rather keep that private, disconnect the plugin from the library on the General Settings tab.<\/p>\n<\/div>\n<p>Role permissions decide who can work with each snippet type. A separate control further down the panel decides whether PHP snippets run at all.<\/p>\n<h2 id=\"turning-off-php-snippets-site-wide\">Turning Off PHP Snippets Site Wide<\/h2>\n<p><strong>Disable PHP snippets<\/strong> is a site-wide switch rather than a per-role one. It applies to everybody, administrators included.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_08_disable_php.webp?v=d06dce4b\" alt=\"The PHP Snippets section with an arrow pointing at the Disable PHP snippets toggle, which is switched off, above the panel's Save Changes button\" \/><\/p>\n<p>The switch arrives off, so PHP and Universal snippets run as normal. WPCode leaves every snippet type available by default. This switch is here for when you want PHP off on purpose.<\/p>\n<p>Turn it on and PHP and Universal snippets stop running, so nobody can add or edit them.<\/p>\n<p>The WPCode Library and the snippet generators close as well, since both deliver PHP. The <strong>Edit PHP Snippets<\/strong> permission row also disappears from the panel while the switch is on, because there is nothing left for it to grant.<\/p>\n<p>Turning the switch back off brings all of it back.<\/p>\n<p>Two things make this handy. It gives you one place to keep a site PHP-free by choice. It also gives you one place to take PHP out of the picture while you narrow down where a behavior is coming from.<\/p>\n<p>You can also set this outside the admin. Adding the following line to your site&#8217;s <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-edit-wp-config-php-file-in-wordpress\/\" target=\"_blank\" rel=\"nofollow noopener\">wp-config.php file<\/a> turns PHP snippets off the same way:<\/p>\n<p><code>define( 'WPCODE_DISABLE_PHP', true );<\/code><\/p>\n<p>With that constant in place, the on-screen <strong>Disable PHP snippets<\/strong> option no longer appears at all. The only way to change it is through wp-config.php.<\/p>\n<p>Everything on this screen saves together. Once your role permissions and your PHP choice are set, click <strong>Save Changes<\/strong> at the bottom of the page.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-access-control-step_09_save_changes.webp?v=88dcea88\" alt=\"An arrow pointing at the Save Changes button at the bottom of the Access Control panel\" \/><\/p>\n<p>That&#8217;s it! Your team can now manage the parts of WPCode you have opened up to them, and nothing else. Next, our guide on <a href=\"https:\/\/wpcode.com\/docs\/using-the-global-header-footer-settings\/\" target=\"_blank\" rel=\"noopener\">using the global header and footer settings<\/a> covers one of the screens the HTML, JavaScript, and CSS permission unlocks.<\/p>\n<h2>Frequently Asked Questions<\/h2>\n<p>Below, we&#8217;ve answered some of the most common questions about WPCode&#8217;s Access Control settings.<\/p>\n<h3 id=\"do-i-need-to-add-administrators-to-these-permissions\">Do I need to add administrators to these permissions?<\/h3>\n<p>No. Administrators hold every WPCode permission already, which is why Administrator is not one of the choices in the role fields. Leaving all five fields empty means WPCode stays administrator-only.<\/p>\n<h3 id=\"can-a-role-with-snippet-permissions-change-the-wpcode-settings\">If I grant snippet permissions, can that role change the WPCode settings?<\/h3>\n<p>No. The five permissions cover snippet editing, the Conversion Pixels screen, and the File Editor. The WPCode settings pages, including Access Control itself and the WPCode Library connection, stay with administrators.<\/p>\n<h3 id=\"where-did-the-edit-php-snippets-permission-go\">Where did the Edit PHP Snippets permission go?<\/h3>\n<p>It is hidden while PHP snippets are switched off by the <strong>Disable PHP snippets<\/strong> option. Switch PHP snippets back on and the permission row returns with your roles still set.<\/p>\n<h3 id=\"what-do-users-see-if-they-cant-edit-a-snippet-type\">What will my users see if they can&#8217;t edit a snippet type?<\/h3>\n<p>WPCode filters the list for them. A user only sees the snippet types their role is allowed to edit on the Code Snippets screen. The code type picker only offers those types when they add a snippet.<\/p>\n<h3 id=\"when-does-a-new-permission-take-effect\">When do the permissions I set take effect?<\/h3>\n<p>As soon as you save. WPCode reads your saved role permissions on every page load, so the people in that role do not need to sign out and back in. Anyone in a role granted one of the three snippet permissions finds <strong>Code Snippets<\/strong> in their WordPress sidebar the next time they open the admin.<\/p>\n<h3 id=\"does-one-permission-cover-more-than-one-code-type\">Does one permission cover more than one code type?<\/h3>\n<p>Yes. Text and Blocks share one permission. HTML, JavaScript, CSS, and SCSS share the next. PHP and Universal share the third. Because the three stack, granting a role the PHP permission gives it every code type in one go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we&#8217;ll walk you through WPCode&#8217;s Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require [&hellip;]<\/p>\n","protected":false},"author":2,"template":"","class_list":["post-2364","wpcode_doc","type-wpcode_doc","status-publish","hentry","wpcode_doc_category-functionality"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we&#039;ll walk you through WPCode&#039;s Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mircea Sandu\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/wpcode.com\/docs\/access-control\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"WPCode - The Best WordPress Code Snippets Plugin\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Access Control - WPCode\" \/>\n\t\t<meta property=\"og:description\" content=\"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we&#039;ll walk you through WPCode&#039;s Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/wpcode.com\/docs\/access-control\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-08-29T08:51:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-07T12:59:15+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Access Control - WPCode\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we&#039;ll walk you through WPCode&#039;s Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Mircea Sandu\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpcode.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/#listItem\",\"name\":\"Functionality\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/#listItem\",\"position\":3,\"name\":\"Functionality\",\"item\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#listItem\",\"name\":\"Access Control\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#listItem\",\"position\":4,\"name\":\"Access Control\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/#listItem\",\"name\":\"Functionality\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#organization\",\"name\":\"WPCode\",\"description\":\"The Best WordPress Code Snippets Plugin\",\"url\":\"https:\\\/\\\/wpcode.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/wpcode.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-wpcode.svg?wsr\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/#author\",\"url\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/\",\"name\":\"Mircea Sandu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/858afa2a871931eea37bc916f2608b8af2e53953f981b2c8cc72cac52b5570ea?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mircea Sandu\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#webpage\",\"url\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/\",\"name\":\"Access Control - WPCode\",\"description\":\"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we'll walk you through WPCode's Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/access-control\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/#author\"},\"datePublished\":\"2023-08-29T08:51:32-04:00\",\"dateModified\":\"2026-10-07T08:59:15-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\",\"url\":\"https:\\\/\\\/wpcode.com\\\/\",\"name\":\"WPCode\",\"description\":\"The Best WordPress Code Snippets Plugin\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Access Control - WPCode<\/title>\n\n","aioseo_head_json":{"title":"Access Control - WPCode","description":"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we'll walk you through WPCode's Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require","canonical_url":"https:\/\/wpcode.com\/docs\/access-control\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/wpcode.com\/docs\/access-control\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/wpcode.com\/#listItem","position":1,"name":"Home","item":"https:\/\/wpcode.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/wpcode.com\/docs\/#listItem","name":"Docs"}},{"@type":"ListItem","@id":"https:\/\/wpcode.com\/docs\/#listItem","position":2,"name":"Docs","item":"https:\/\/wpcode.com\/docs\/","nextItem":{"@type":"ListItem","@id":"https:\/\/wpcode.com\/categories\/docs\/functionality\/#listItem","name":"Functionality"},"previousItem":{"@type":"ListItem","@id":"https:\/\/wpcode.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/wpcode.com\/categories\/docs\/functionality\/#listItem","position":3,"name":"Functionality","item":"https:\/\/wpcode.com\/categories\/docs\/functionality\/","nextItem":{"@type":"ListItem","@id":"https:\/\/wpcode.com\/docs\/access-control\/#listItem","name":"Access Control"},"previousItem":{"@type":"ListItem","@id":"https:\/\/wpcode.com\/docs\/#listItem","name":"Docs"}},{"@type":"ListItem","@id":"https:\/\/wpcode.com\/docs\/access-control\/#listItem","position":4,"name":"Access Control","previousItem":{"@type":"ListItem","@id":"https:\/\/wpcode.com\/categories\/docs\/functionality\/#listItem","name":"Functionality"}}]},{"@type":"Organization","@id":"https:\/\/wpcode.com\/#organization","name":"WPCode","description":"The Best WordPress Code Snippets Plugin","url":"https:\/\/wpcode.com\/","logo":{"@type":"ImageObject","url":"https:\/\/wpcode.com\/wp-content\/uploads\/2022\/11\/logo-wpcode.svg?wsr","@id":"https:\/\/wpcode.com\/docs\/access-control\/#organizationLogo"},"image":{"@id":"https:\/\/wpcode.com\/docs\/access-control\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/wpcode.com\/author\/msanduawesomemotive-com\/#author","url":"https:\/\/wpcode.com\/author\/msanduawesomemotive-com\/","name":"Mircea Sandu","image":{"@type":"ImageObject","@id":"https:\/\/wpcode.com\/docs\/access-control\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/858afa2a871931eea37bc916f2608b8af2e53953f981b2c8cc72cac52b5570ea?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mircea Sandu"}},{"@type":"WebPage","@id":"https:\/\/wpcode.com\/docs\/access-control\/#webpage","url":"https:\/\/wpcode.com\/docs\/access-control\/","name":"Access Control - WPCode","description":"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we'll walk you through WPCode's Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/wpcode.com\/#website"},"breadcrumb":{"@id":"https:\/\/wpcode.com\/docs\/access-control\/#breadcrumblist"},"author":{"@id":"https:\/\/wpcode.com\/author\/msanduawesomemotive-com\/#author"},"creator":{"@id":"https:\/\/wpcode.com\/author\/msanduawesomemotive-com\/#author"},"datePublished":"2023-08-29T08:51:32-04:00","dateModified":"2026-10-07T08:59:15-04:00"},{"@type":"WebSite","@id":"https:\/\/wpcode.com\/#website","url":"https:\/\/wpcode.com\/","name":"WPCode","description":"The Best WordPress Code Snippets Plugin","inLanguage":"en-US","publisher":{"@id":"https:\/\/wpcode.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"WPCode - The Best WordPress Code Snippets Plugin","og:type":"article","og:title":"Access Control - WPCode","og:description":"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we'll walk you through WPCode's Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require","og:url":"https:\/\/wpcode.com\/docs\/access-control\/","og:image":"https:\/\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","og:image:secure_url":"https:\/\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","og:image:width":2400,"og:image:height":1260,"article:published_time":"2023-08-29T08:51:32+00:00","article:modified_time":"2026-10-07T12:59:15+00:00","twitter:card":"summary_large_image","twitter:title":"Access Control - WPCode","twitter:description":"Would you like to let other people on your site manage code snippets without giving them a full administrator account? In this guide, we'll walk you through WPCode's Access Control settings, which hand out snippet permissions role by role. All you need is a few minutes on one settings screen. Requirements: Access Control settings require","twitter:image":"https:\/\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","twitter:label1":"Written by","twitter:data1":"Mircea Sandu","twitter:label2":"Est. reading time","twitter:data2":"7 minutes"},"aioseo_meta_data":{"post_id":"2364","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-10-07 12:59:28","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2023-08-25 13:28:46","updated":"2026-10-09 09:39:08","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/wpcode.com\/\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/wpcode.com\/docs\/\" title=\"Docs\">Docs<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/wpcode.com\/categories\/docs\/functionality\/\" title=\"Functionality\">Functionality<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\tAccess Control\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/wpcode.com\/"},{"label":"Docs","link":"https:\/\/wpcode.com\/docs\/"},{"label":"Functionality","link":"https:\/\/wpcode.com\/categories\/docs\/functionality\/"},{"label":"Access Control","link":"https:\/\/wpcode.com\/docs\/access-control\/"}],"_links":{"self":[{"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/2364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc"}],"about":[{"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/types\/wpcode_doc"}],"author":[{"embeddable":true,"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":8,"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/2364\/revisions"}],"predecessor-version":[{"id":7435,"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/2364\/revisions\/7435"}],"wp:attachment":[{"href":"https:\/\/wpcode.com\/wp-json\/wp\/v2\/media?parent=2364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}