{"id":37282,"date":"2015-07-13T06:50:37","date_gmt":"2015-07-13T06:50:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/frontier-restrict-backend\/"},"modified":"2023-04-13T14:30:41","modified_gmt":"2023-04-13T14:30:41","slug":"frontier-restrict-backend","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/frontier-restrict-backend\/","author":10849627,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6.0","stable_tag":"1.6.0","tested":"6.2.9","requires":"6.1","requires_php":"7.4.33","requires_plugins":null,"header_name":"Frontier Restrict Backend","header_author":"finnj","header_description":"","assets_banners_color":"c8b8b0","last_updated":"2023-04-13 14:30:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/frontier-restrict-backend","header_author_uri":"http:\/\/wpfrontier.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":7346,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"finnj","date":"2016-02-27 13:53:25"},"1.1.0":{"tag":"1.1.0","author":"finnj","date":"2016-03-26 09:10:50"},"1.1.2":{"tag":"1.1.2","author":"finnj","date":"2016-05-19 21:27:20"},"1.2.0":{"tag":"1.2.0","author":"finnj","date":"2016-05-20 06:10:09"},"1.2.1":{"tag":"1.2.1","author":"finnj","date":"2016-11-12 14:56:26"},"1.3.0":{"tag":"1.3.0","author":"finnj","date":"2017-02-25 15:10:09"},"1.3.1":{"tag":"1.3.1","author":"finnj","date":"2017-11-04 13:26:15"},"1.3.5":{"tag":"1.3.5","author":"finnj","date":"2019-07-29 14:07:38"},"1.4.0":{"tag":"1.4.0","author":"finnj","date":"2020-04-03 10:55:03"},"1.6.0":{"tag":"1.6.0","author":"finnj","date":"2023-04-13 14:30:41"}},"upgrade_notice":{"":"<p>None<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1197718,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":1197718,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1197721,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1197721,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.1.0","1.1.2","1.2.0","1.2.1","1.3.0","1.3.1","1.3.5","1.4.0","1.6.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1911,83,1379,31167],"plugin_category":[],"plugin_contributors":[81567],"plugin_business_model":[],"class_list":["post-37282","plugin","type-plugin","status-publish","hentry","plugin_tags-access","plugin_tags-admin","plugin_tags-backend","plugin_tags-frontier","plugin_contributors-finnj","plugin_committers-finnj"],"banners":{"banner":"https:\/\/ps.w.org\/frontier-restrict-backend\/assets\/banner-772x250.jpg?rev=1197721","banner_2x":"https:\/\/ps.w.org\/frontier-restrict-backend\/assets\/banner-1544x500.jpg?rev=1197721","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/frontier-restrict-backend\/assets\/icon-128x128.jpg?rev=1197718","icon_2x":"https:\/\/ps.w.org\/frontier-restrict-backend\/assets\/icon-256x256.jpg?rev=1197718","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Frontier Restrict Backend will restrict users from access to the backend (admin area)<\/p>\n\n<h4>Main Features<\/h4>\n\n<ul>\n<li>Users without the capability manage_options (Administrators) will not have access to the backend (admin area, and will be redirected to the home url).<\/li>\n<li>Frontier Restrict Backend allows AJAX call such as upload files, but restricted users will not be allowed to access the backend area.<\/li>\n<li>Access level chan be changed using a filter - Please see FAQ to allow authors and above to access the back end<\/li>\n<\/ul>\n\n<h4>Frontier plugins<\/h4>\n\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/frontier-post\/\">Frontier Post<\/a>  - Complete frontend management of posts<\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/frontier-query\/\">Frontier Query<\/a>  - Display lists and groupings of posts in post\/pages and widgets.<\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/frontier-buttons\/\">Frontier Buttons<\/a>  - Full control of tinymce toolbars and buttons buttons<\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/frontier-set-featured\/\">Frontier Set Featured <\/a>  - Set featured image aut. based on post images <\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/frontier-restrict-media\/\">Frontier Restrict Media <\/a>  - Restrict media access to users own media<\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/frontier-restrict-backend\/\">Frontier Restrict Backend <\/a>  - Restrict access to the backend (wp-admin)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>ftp the plugin to the <code>\/wp-content\/plugins\/<\/code>  directory or install it from plugin install on your site<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>You can change the level that Frontier Restrict Backend blocks, by applying a filter in your functions.php<\/p>\n\n<p>Per default all other than admin users are blocked, see below example of how to allow Admins, Editors and Authors.<\/p>\n\n<ul>\n<li>manage_options      = Administrators<\/li>\n<li>edit_others_posts   = Editors<\/li>\n<li>publish_posts       = Authors<\/li>\n<li>edit_posts          = Contributors<\/li>\n<li>read                = Subscribers<\/li>\n<\/ul>\n\n<p>\/\/ ****- Set restrict to allow Author and above -****\nfunction my_restrict_backend_level($min_allow_capability)<br \/>\n    {\n    return \"publish_posts\";\n    }\nadd_filter('restrict_backend_min_cap', \"my_restrict_backend_level\",10,1);<\/p>\n\n<p>\u00b4\nThe above mentioned capabilities that are allowed.<\/p>\n\n<!--section=changelog-->\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Tested with WP 6.2<\/li>\n<li>Tested with PHP 8<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Tested with WP 5.8<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Tested with WP 5.4<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Tested with WP 5.2.2 and php 7.2.2<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Tested with 4.9<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Fixed issue with Featured image by allowing bypass for async-upload.php &amp; admin-ajax.php<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Tested with 4.7<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added option to control access level from filter - see FAQ .<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Tested with 4.5<\/li>\n<li>Readme update<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Removed error_log messages<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Frontier Restrict Backend will restrict users from access to the backend (admin area)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37282"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/finnj"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37282"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37282"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37282"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37282"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37282"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}