{"id":259229,"date":"2025-11-06T14:05:48","date_gmt":"2025-11-06T14:05:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/riaco-hide-products-by-user-role\/"},"modified":"2025-11-06T14:05:33","modified_gmt":"2025-11-06T14:05:33","slug":"riaco-hide-products-by-user-role","status":"publish","type":"plugin","link":"https:\/\/ary.wordpress.org\/plugins\/riaco-hide-products-by-user-role\/","author":8872771,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"RIACO Hide Products by User Role","header_author":"Roberto Iacono","header_description":"Hide WooCommerce products by WordPress user role.","assets_banners_color":"f6f6f7","last_updated":"2025-11-06 14:05:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":223,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"1.0.0":{"tag":"1.0.0","author":"prototipo88","date":"2025-11-06 14:05:33"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3391188,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3391188,"resolution":"256x256","location":"assets","locale":""},"icon-600x600.png":{"filename":"icon-600x600.png","revision":3391188,"resolution":"600x600","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3397853,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3397853,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3397853,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3397853,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3397853,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[207505,250361,250362,286],"plugin_category":[45],"plugin_contributors":[238641],"plugin_business_model":[],"class_list":["post-259229","plugin","type-plugin","status-publish","hentry","plugin_tags-hide-products","plugin_tags-product-restrictions","plugin_tags-products-visibility","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-prototipo88","plugin_committers-prototipo88"],"banners":{"banner":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/banner-772x250.png?rev=3397853","banner_2x":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/banner-1544x500.png?rev=3397853","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/icon-128x128.png?rev=3391188","icon_2x":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/icon-256x256.png?rev=3391188","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/screenshot-1.png?rev=3397853","caption":""},{"src":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/screenshot-2.png?rev=3397853","caption":""},{"src":"https:\/\/ps.w.org\/riaco-hide-products-by-user-role\/assets\/screenshot-3.png?rev=3397853","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Hide Products by User Role for WooCommerce<\/strong> lets you control product visibility for different user roles \u2014 including guests \u2014 without coding.<\/p>\n\n<p>You can:\n- Hide specific products, product categories, or all products from selected user roles.\n- Apply global rules in <strong>WooCommerce &gt; Settings &gt; Products &gt; Hide by User Roles<\/strong>.\n- Hide products even in search, archives, and single product pages.\n- Support for <strong>variable products<\/strong> \u2014 manage visibility per variation.\n- Use <strong>custom targets<\/strong> (extendable via filters).<\/p>\n\n<p>Perfect for:\n- Wholesale \/ Retail pricing separation<br \/>\n- B2B stores hiding retail items<br \/>\n- Private or membership stores<br \/>\n- Logged-in users only stores<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Hide products for guests or specific user roles<\/li>\n<li>Global visibility rules via WooCommerce settings<\/li>\n<li>Role-based taxonomy and product filtering<\/li>\n<li>Compatible with WooCommerce product queries<\/li>\n<li>Hide single product pages if restricted<\/li>\n<li>Hide variation products<\/li>\n<li>Extendable via WordPress filters<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Upload the plugin folder to \/wp-content\/plugins\/ or install it from the WordPress Plugin Directory.<\/p>\n\n<p>Activate the plugin through the Plugins menu in WordPress.<\/p>\n\n<p>Go to WooCommerce &gt; Settings &gt; Products &gt; Hide by User Roles.<\/p>\n\n<p>Add rules to hide products or categories for specific user roles.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20hide%20products%20only%20for%20guests%3F'><h3>Can I hide products only for guests?<\/h3><\/dt>\n<dd><p>Yes. You can create a rule with the \u201cGuest\u201d role and select which products or categories to hide.<\/p><\/dd>\n<dt id='will%20this%20remove%20products%20from%20search%20results%20and%20archives%3F'><h3>Will this remove products from search results and archives?<\/h3><\/dt>\n<dd><p>Yes, hidden products are excluded from all WooCommerce queries (shop, category, tag, search, etc.).<\/p><\/dd>\n<dt id='does%20it%20work%20with%20custom%20product%20types%20or%20taxonomies%3F'><h3>Does it work with custom product types or taxonomies?<\/h3><\/dt>\n<dd><p>No, but you can extend it using filters to support any taxonomy.<\/p><\/dd>\n<dt id='can%20i%20hide%20product%20variations%3F'><h3>Can I hide product variations?<\/h3><\/dt>\n<dd><p>Yes. Each variation can have its own visibility settings in the product edit screen.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Hide WooCommerce products, categories, and variations based on user roles or guest access.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/259229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=259229"}],"author":[{"embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/prototipo88"}],"wp:attachment":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=259229"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=259229"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=259229"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=259229"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=259229"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=259229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}