{"id":158661,"date":"2022-06-24T23:20:32","date_gmt":"2022-06-24T23:20:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/subaccounts-for-woocommerce\/"},"modified":"2026-02-21T00:20:28","modified_gmt":"2026-02-21T00:20:28","slug":"subaccounts-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/subaccounts-for-woocommerce\/","author":20466377,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.3","stable_tag":"1.9.3","tested":"6.9.4","requires":"5.7","requires_php":"5.7","requires_plugins":null,"header_name":"Subaccounts for WooCommerce","header_author":"Mediaticus","header_description":"Subaccounts for WooCommerce adds the possibility to create subaccounts for customers and subscribers within WooCommerce.","assets_banners_color":"f8fdff","last_updated":"2026-02-21 00:20:28","external_support_url":"https:\/\/subaccounts.pro\/account\/#!\/support","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/subaccounts.pro\/","header_author_uri":"https:\/\/subaccounts.pro\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":12272,"num_ratings":25,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mediaticus","date":"2022-06-24 23:20:29"},"1.1.0":{"tag":"1.1.0","author":"mediaticus","date":"2022-10-05 23:25:16"},"1.1.1":{"tag":"1.1.1","author":"mediaticus","date":"2022-11-01 09:52:41"},"1.1.2":{"tag":"1.1.2","author":"mediaticus","date":"2022-12-05 09:58:48"},"1.1.3":{"tag":"1.1.3","author":"mediaticus","date":"2023-02-11 18:25:21"},"1.1.4":{"tag":"1.1.4","author":"mediaticus","date":"2023-02-15 15:02:15"},"1.2.0":{"tag":"1.2.0","author":"mediaticus","date":"2023-03-20 13:38:04"},"1.2.1":{"tag":"1.2.1","author":"mediaticus","date":"2023-04-25 05:44:17"},"1.3.0":{"tag":"1.3.0","author":"mediaticus","date":"2023-05-25 09:58:10"},"1.4.0":{"tag":"1.4.0","author":"mediaticus","date":"2023-07-06 17:19:50"},"1.4.1":{"tag":"1.4.1","author":"mediaticus","date":"2023-08-05 08:58:21"},"1.4.2":{"tag":"1.4.2","author":"mediaticus","date":"2023-09-05 04:03:18"},"1.4.3":{"tag":"1.4.3","author":"mediaticus","date":"2023-10-25 11:36:03"},"1.5.0":{"tag":"1.5.0","author":"mediaticus","date":"2023-12-20 09:20:37"},"1.5.1":{"tag":"1.5.1","author":"mediaticus","date":"2024-02-05 19:28:39"},"1.5.2":{"tag":"1.5.2","author":"mediaticus","date":"2024-02-15 15:49:08"},"1.5.3":{"tag":"1.5.3","author":"mediaticus","date":"2024-03-25 01:45:23"},"1.5.4":{"tag":"1.5.4","author":"mediaticus","date":"2024-04-02 02:01:09"},"1.5.5":{"tag":"1.5.5","author":"mediaticus","date":"2024-05-30 04:38:35"},"1.5.6":{"tag":"1.5.6","author":"mediaticus","date":"2024-07-30 07:54:40"},"1.6.0":{"tag":"1.6.0","author":"mediaticus","date":"2024-11-15 01:22:15"},"1.6.1":{"tag":"1.6.1","author":"mediaticus","date":"2024-11-20 17:45:39"},"1.6.2":{"tag":"1.6.2","author":"mediaticus","date":"2024-11-22 00:37:43"},"1.6.3":{"tag":"1.6.3","author":"mediaticus","date":"2025-01-10 00:35:57"},"1.6.4":{"tag":"1.6.4","author":"mediaticus","date":"2025-01-15 19:50:50"},"1.6.5":{"tag":"1.6.5","author":"mediaticus","date":"2025-01-27 00:46:35"},"1.6.6":{"tag":"1.6.6","author":"mediaticus","date":"2025-04-15 16:16:33"},"1.6.7":{"tag":"1.6.7","author":"mediaticus","date":"2025-04-30 21:10:32"},"1.7.0":{"tag":"1.7.0","author":"mediaticus","date":"2025-08-15 22:55:40"},"1.8.0":{"tag":"1.8.0","author":"mediaticus","date":"2025-09-29 23:05:52"},"1.8.1":{"tag":"1.8.1","author":"mediaticus","date":"2025-10-01 19:16:50"},"1.8.2":{"tag":"1.8.2","author":"mediaticus","date":"2025-10-02 14:08:06"},"1.9.0":{"tag":"1.9.0","author":"mediaticus","date":"2025-10-30 07:46:06"},"1.9.1":{"tag":"1.9.1","author":"mediaticus","date":"2025-11-25 00:47:21"},"1.9.2":{"tag":"1.9.2","author":"mediaticus","date":"2025-12-02 23:54:13"},"1.9.3":{"tag":"1.9.3","author":"mediaticus","date":"2026-02-21 00:20:28"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":25},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2747823,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2747823,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3466148,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3466148,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.7.0","1.8.0","1.8.1","1.8.2","1.9.0","1.9.1","1.9.2","1.9.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2917225,"resolution":"1","location":"assets","locale":""},"screenshot-10.png":{"filename":"screenshot-10.png","revision":2917225,"resolution":"10","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2917225,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2747823,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2747823,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2794190,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2794190,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2794190,"resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":2794190,"resolution":"8","location":"assets","locale":""},"screenshot-9.png":{"filename":"screenshot-9.png","revision":2917225,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"Plugin Settings Page - Options Tab","2":"Plugin Settings Page - Appearance Tab","3":"Admin Order List Page (premium feature)","4":"Admin Order Page","5":"My Account - User Switcher","6":"My Account - Subaccount Orders","7":"My Account - Add Subaccount","8":"My Account - Orders","9":"Add\/Manage Subaccount from Admin Side (premium feature)","10":"Admin Users List Page (premium feature)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[226151,3949,226150,3749,190090],"plugin_category":[45],"plugin_contributors":[211557],"plugin_business_model":[216238],"class_list":["post-158661","plugin","type-plugin","status-publish","hentry","plugin_tags-company-accounts","plugin_tags-multi-user","plugin_tags-sub-account","plugin_tags-user-switching","plugin_tags-woocommerce-b2b","plugin_category-ecommerce","plugin_contributors-mediaticus","plugin_business_model-commercial","plugin_committers-mediaticus","plugin_support_reps-sfwc"],"banners":{"banner":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/banner-772x250.png?rev=3466148","banner_2x":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/banner-1544x500.png?rev=3466148","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/icon-128x128.jpg?rev=2747823","icon_2x":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/icon-256x256.jpg?rev=2747823","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-1.png?rev=2917225","caption":"Plugin Settings Page - Options Tab"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-2.png?rev=2917225","caption":"Plugin Settings Page - Appearance Tab"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-3.png?rev=2747823","caption":"Admin Order List Page (premium feature)"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-4.png?rev=2747823","caption":"Admin Order Page"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-5.png?rev=2794190","caption":"My Account - User Switcher"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-6.png?rev=2794190","caption":"My Account - Subaccount Orders"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-7.png?rev=2794190","caption":"My Account - Add Subaccount"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-8.png?rev=2794190","caption":"My Account - Orders"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-9.png?rev=2917225","caption":"Add\/Manage Subaccount from Admin Side (premium feature)"},{"src":"https:\/\/ps.w.org\/subaccounts-for-woocommerce\/assets\/screenshot-10.png?rev=2917225","caption":"Admin Users List Page (premium feature)"}],"raw_content":"<!--section=description-->\n<p>Easily allow customers to create subaccounts or add users to their company accounts, while giving them full control over subaccount details, order tracking, and purchase monitoring\u2014all delivered through a powerful, extensible plugin.<\/p>\n\n<h3>Subaccounts for WooCommerce \u2013 The most comprehensive subaccount management plugin for WooCommerce<\/h3>\n\n<p>The Subaccounts for WooCommerce plugin gives you everything you need to add powerful subaccount functionality to your store. <a href=\"https:\/\/subaccounts.pro\/\">Subaccounts Pro<\/a> (our premium version) and its extensions unlock even more advanced features.<\/p>\n\n<p>The ability to create multiple subaccounts tied to a main parent account is extremely useful in the following scenarios:<\/p>\n\n<ul>\n<li>Companies that need to add and manage accounts for their employees<\/li>\n<li>Stores that need to place orders from multiple branches<\/li>\n<li>Businesses with multiple decision-makers involved in purchasing<\/li>\n<li>Parent accounts that need to supervise and monitor all subaccount activity (purchases, expenses, quotes, etc.), and even place orders on their behalf<\/li>\n<li>Company accounts that need to manage orders across different purchasing departments or multiple purchasing managers (B2B and similar cases)<\/li>\n<li>Sales agents or representatives who need to create new accounts for newly acquired customers and, if needed, place orders on their behalf<\/li>\n<\/ul>\n\n<h3>\ud83c\udfc6 Main features<\/h3>\n\n<p>Subaccounts for WooCommerce (free version) provides support for the following features:<\/p>\n\n<h3>Two subaccount modes available<\/h3>\n\n<p>Whether your customers need parent-level control over multiple separate subaccounts or the ability to add users to their company account, we've got them covered.<\/p>\n\n<ul>\n<li><p><strong>Multi-User mode:<\/strong> This is the best option for company accounts that need to place orders across different purchasing departments or via multiple purchasing managers (B2B and similar).<\/p><\/li>\n<li><p><strong>Sub-User mode:<\/strong> This is the ideal solution if you want to keep accounts separate while still allowing the parent account to maintain control and supervise subaccount activity (purchases, expenses, quotes, etc.).<\/p><\/li>\n<\/ul>\n\n<h3>Frontend subaccount management<\/h3>\n\n<p>Allow customers to easily create new subaccounts and manage subaccount details, view subaccount orders, and monitor purchases with full visibility.<\/p>\n\n<ul>\n<li>Allow customers to add their own subaccounts (up to 10 subaccounts per parent account in the free version)<\/li>\n<li>Allow parent accounts to edit subaccount details, including billing and shipping addresses<\/li>\n<li>Allow customers to view and monitor subaccount orders directly from their own My Account area<\/li>\n<li>For each purchase display information about who did actually placed the order<\/li>\n<li>Allow parent accounts to switch forward and backward from their account to any subaccount user account using our advanced and secure user switching system<\/li>\n<\/ul>\n\n<h3>Tailored Settings<\/h3>\n\n<ul>\n<li><strong>Target Users Precisely<\/strong> \u2014 Enable the subaccount system only for the roles you choose (including custom roles).<\/li>\n<li><strong>Assign Roles with Ease<\/strong> \u2014 Automatically set specific roles for subaccounts created on the frontend.<\/li>\n<li><strong>Keep Roles Consistent<\/strong> \u2014 Let subaccounts inherit the same roles as their parent.<\/li>\n<li><strong>Keep Roles in Sync<\/strong> \u2014 Keep subaccount roles synchronized with the parent account.<\/li>\n<li><strong>Set Limits<\/strong> \u2014 Control the number of subaccounts parent accounts can create.<\/li>\n<li><strong>Customize Appearance<\/strong> \u2014 Customize the User Switcher Pane to match your theme's color scheme.<\/li>\n<\/ul>\n\n<h3>\ud83d\ude80 Premium features<\/h3>\n\n<p><a href=\"https:\/\/subaccounts.pro\/\">Subaccounts Pro<\/a> (premium version) is an extended version of the plugin and includes the following additional features:<\/p>\n\n<ul>\n<li><strong>Unlimited Subaccounts<\/strong> \u2014 Allow parent accounts (managers) to create an unlimited number of subaccounts.<\/li>\n<li><strong>Take Control<\/strong> \u2014 Create, assign, and fully manage subaccounts directly from the WordPress admin dashboard.<\/li>\n<li><strong>Own Your Workflow<\/strong> \u2014 Control who can create and manage subaccounts: customers, admins, or both.<\/li>\n<li><strong>Streamline Billing and Shipping<\/strong> \u2014 Force subaccounts to inherit parent account addresses effortlessly.<\/li>\n<li><strong>Stay Informed<\/strong> \u2014 Include subaccount information in WooCommerce new order emails for admins, customers, or both.<\/li>\n<li><strong>Know Who's Ordering<\/strong> \u2014 In the admin area, display who actually placed each order in the WooCommerce orders list and order pages.<\/li>\n<li><strong>Know Your Orders<\/strong> \u2014 Display parent and subaccount information in the WooCommerce orders list.<\/li>\n<li><strong>See Account Relationships<\/strong> \u2014 Display parent and subaccount information, including their relationships, in the WordPress users list page.<\/li>\n<li><strong>Filter Users with Ease<\/strong> \u2014 Filter customers by account type (e.g. show only parent accounts or subaccounts) in the WordPress users list.<\/li>\n<li><strong>Parent-Child Filtering<\/strong> \u2014 Filter subaccounts by parent account in the WordPress users list.<\/li>\n<\/ul>\n\n<p>Upgrade to <em>Subaccounts Pro<\/em> and get a full suite of tools to create and manage subaccounts in WooCommerce!<\/p>\n\n<p>Upgrading to <strong>Subaccounts Pro<\/strong> is easy: just install the free version of the plugin and navigate to: <strong>Admin Dashboard \u2192 WooCommerce \u2192 Subaccounts \u2192 Add-Ons<\/strong>. From there you will be able to easily and securely upgrade to the premium version of the plugin in just a few clicks. Alternatively, you can get Subaccounts Pro and its add-ons directly from our website: <a href=\"https:\/\/subaccounts.pro\/\">https:\/\/subaccounts.pro\/<\/a>.<\/p>\n\n<h3>\ud83d\udd0c Add-Ons available<\/h3>\n\n<p><strong>Order Approval Add-On<\/strong>: Give parent accounts full visibility and control by allowing them to review, edit, and approve or reject subaccount orders before they're completed.<\/p>\n\n<p><strong>Supervisor Add-On<\/strong>: Allow administrators to create a three-level nested account structure by assigning a Supervisor account as parent to multiple Manager account types (e.g. Supervisor \u2192 Manager \u2192 Subaccount).<\/p>\n\n<h3>\ud83c\udf10 Languages and translations<\/h3>\n\n<p><strong>Subaccounts for WooCommerce<\/strong> is translation ready and is currently available in the following languages:<\/p>\n\n<ul>\n<li>English<\/li>\n<li>French<\/li>\n<li>Italian<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/subaccounts-for-woocommerce\/\">Translate Subaccounts for WooCommerce<\/a> into your language and earn big discounts on Subaccounts Pro and its add-ons!<\/p>\n\n<!--section=installation-->\n<h3>Automatic installation<\/h3>\n\n<p>Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't even need to leave your web browser. To do an automatic install of Subaccounts for WooCommerce, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.<\/p>\n\n<p>In the search field type \"Subaccounts for WooCommerce\" and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you're sure you want to install the plugin. Click yes and WordPress will automatically complete the installation. After installation has finished, click the 'activate plugin' link.<\/p>\n\n<h3>Manual installation via the WordPress interface<\/h3>\n\n<ol>\n<li>Download the plugin zip file to your computer<\/li>\n<li>Go to the WordPress admin panel menu Plugins \u2192 Add New<\/li>\n<li>Choose upload<\/li>\n<li>Upload the plugin zip file, the plugin will now be installed<\/li>\n<li>After installation has finished, click the 'activate plugin' link<\/li>\n<\/ol>\n\n<h3>Manual installation via FTP<\/h3>\n\n<ol>\n<li>Download the plugin file to your computer and unzip it<\/li>\n<li>Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation's wp-content\/plugins\/ directory.<\/li>\n<li>Activate the plugin from the Plugins menu within the WordPress admin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20a%20subaccount%3F\"><h3>What is a subaccount?<\/h3><\/dt>\n<dd><p>A subaccount (or sub-account) is a secondary account that sits under a main parent account.<\/p><\/dd>\n<dt id=\"what%20is%20a%20manager%3F\"><h3>What is a Manager?<\/h3><\/dt>\n<dd><p>A <strong>Manager<\/strong> is a parent account.<\/p><\/dd>\n<dt id=\"how%20many%20subaccounts%20can%20be%20created%20for%20each%20customer%2Fsubscriber%3F\"><h3>How many subaccounts can be created for each customer\/subscriber?<\/h3><\/dt>\n<dd><p>Subaccounts for WooCommerce (free version) gives you the possibility to create up to 10 subaccounts for each Manager (parent account).<\/p>\n\n<p>With <em>Subaccounts Pro<\/em> (premium version) each Manager can have an unlimited number of subaccounts.<\/p><\/dd>\n<dt id=\"can%20a%20parent%20account%20%28manager%29%20place%20an%20order%3F\"><h3>Can a parent account (Manager) place an order?<\/h3><\/dt>\n<dd><p>Both parent accounts and subaccounts can place orders. Parent accounts can also place orders on behalf of subaccounts, while a subaccount can place orders only for itself.<\/p><\/dd>\n<dt id=\"is%20it%20possible%20to%20create%20multiple%20nested%20subaccounts%20%28e.g.%20a%20subaccount%20of%20another%20subaccount%29%3F\"><h3>Is it possible to create multiple nested subaccounts (e.g. a subaccount of another subaccount)?<\/h3><\/dt>\n<dd><p>Subaccounts for WooCommerce (free version), allows the creation of two account levels only: a main parent account (so called Manager) and one or more subaccounts tied to the parent account.<\/p>\n\n<p>With the <strong>Supervisor Add-On<\/strong> it is possible to set a parent account (Supervisor) above a Manager account type, thus allowing you (as an administrator) to create a three-level structure of nested accounts.<\/p><\/dd>\n<dt id=\"is%20it%20possible%20for%20an%20administrator%20to%20create%20and%20set%20a%20subaccount%20for%20a%20customer%20from%20the%20wordpress%20backend%20%28admin%20dashboard%29%3F\"><h3>Is it possible for an Administrator to create and set a subaccount for a customer from the WordPress backend (admin dashboard)?<\/h3><\/dt>\n<dd><p>This option, along with many others, is only available in <em>Subaccounts Pro<\/em>, the premium version of the plugin.<\/p><\/dd>\n<dt id=\"is%20it%20possible%20to%20switch%20from%20sub-user%20to%20multi-user%20mode%20and%20vice%20versa%20after%20some%20orders%20have%20already%20been%20placed%3F\"><h3>Is it possible to switch from Sub-User to Multi-User mode and vice versa after some orders have already been placed?<\/h3><\/dt>\n<dd><p>We have done our best to ensure the highest level of compatibility between the two modes. Despite this, switching from one mode to the other after some orders have already been placed may result in some data being inaccurate.<\/p>\n\n<p>For this reason we strongly recommend that you choose the mode that best suits your needs and stick with it.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20the%20woocommerce%20high-performance%20order%20storage%20%28hpos%29%20feature%3F\"><h3>Is the plugin compatible with the WooCommerce High-Performance Order Storage (HPOS) feature?<\/h3><\/dt>\n<dd><p>Compatibility with the WooCommerce High-Performance Order Storage (HPOS) feature has been introduced in version 1.2.0 of the plugin.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20woocommerce%20checkout%20and%20cart%20blocks%3F\"><h3>Is the plugin compatible with WooCommerce Checkout and Cart blocks?<\/h3><\/dt>\n<dd><p>Compatibility with WooCommerce Checkout and Cart blocks has been introduced in version 1.9.0 of the plugin.<\/p><\/dd>\n<dt id=\"are%20there%20any%20shortcodes%20available%3F\"><h3>Are there any shortcodes available?<\/h3><\/dt>\n<dd><p>From version 1.0.8, the following shortcodes are available:<\/p>\n\n<pre><code>[sfwc_user_switcher]\n[sfwc_manage_subaccounts]\n[sfwc_add_subaccount]\n[sfwc_subaccount_orders] (Available only if Sub-User mode is active)\n<\/code><\/pre><\/dd>\n<dt id=\"does%20the%20plugin%20work%20on%20multisite%20installations%3F\"><h3>Does the plugin work on multisite installations?<\/h3><\/dt>\n<dd><p>It should work, but please note that activating the plugin on the entire network is not supported at this time. However you may want to try activating the plugin individually on all the sites you need to use it on.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.3<\/h4>\n\n<p><em>Release Date February 21, 2026<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Before populating checkout fields, ensure the customer's Billing First Name, Billing Last Name, and Billing Email are set to prevent checkout validation errors.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Added <code>Author URI<\/code> in plugin header.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Changes in readme.txt file.<\/li>\n<\/ul>\n\n<h4>1.9.2<\/h4>\n\n<p><em>Release Date December 3, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Fix JavaScript console error <code>Cannot read properties of undefined (reading 'style')<\/code> thrown on the Subaccount Orders page when there are no orders.<\/li>\n<li><strong>Dev<\/strong> \u2013 Removed backend notification about compatibility with WooCommerce Checkout and Cart blocks.<\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<p><em>Release Date November 25, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Update Freemius SDK to version 2.13.0.<\/li>\n<li><strong>Fix<\/strong> \u2013 When using the wp_add_inline_script() function, use <code>var<\/code> instead of <code>const<\/code> for variable names, to avoid JS errors in the My Account area in some cases.<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<p><em>Release Date October 30, 2025<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Introduced support for WooCommerce Checkout and Cart blocks.<\/li>\n<li><strong>Fix<\/strong> \u2013 When using wp_add_inline_script(), enqueue the JavaScript code in the footer to avoid issues related to dependencies. <\/li>\n<li><strong>Dev<\/strong> \u2013 Declared compatibility with WooCommerce Checkout and Cart blocks.<\/li>\n<li><strong>Dev<\/strong> \u2013 Removed backend notification about incompatibility with WooCommerce Checkout and Cart blocks.<\/li>\n<li><strong>Dev<\/strong> \u2013 Removed backend notification about shortcode name changes.<\/li>\n<\/ul>\n\n<h4>1.8.2<\/h4>\n\n<p><em>Release Date October 2, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Properly return checkout fields for standalone customers.<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<p><em>Release Date October 1, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Fix Managers not being able to view subaccount orders when Sub-User mode is enabled and the subaccount orders list page is rendered via the <code>[sfwc_subaccount_orders]<\/code> shortcode.<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<p><em>Release Date September 30, 2025<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 The User Switcher form is now available as a shortcode <code>[sfwc_user_switcher]<\/code>.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Code improvements in the \"Filter Orders\" frontend form.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Improved compatibility with John Blackbourn's \"User Switching\" plugin.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Improved compatibility with Themekraft's \"BuddyPress Integration for WooCommerce\" plugin (premium version).<\/li>\n<li><strong>Improvement<\/strong> \u2013 Update Freemius SDK to version 2.12.2.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix <code>First Name<\/code>, <code>Last Name<\/code> and <code>Email<\/code> checkout fields not populating correctly if Multi-User mode is enabled and a subaccount is logged-in.<\/li>\n<li><strong>Fix<\/strong> \u2013 General code improvements and fixes in all plugin shortcodes.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix <code>setcookie(): Passing null to parameter #2 of type string is deprecated<\/code> thrown by PHP 8.1 and later versions.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix <code>Call to a member function get_meta() on array<\/code> in the <code>sfwc_multi_user_change_reply_to_email_header_for_admin_notifications<\/code>.<\/li>\n<li><strong>Fix<\/strong> \u2013 In the <code>sfwc_my_account_orders_order_placed_by()<\/code> function, make sure that <code>get_userdata()<\/code> does not return <code>false<\/code> before retrieving the user data.<\/li>\n<li><strong>Tweak<\/strong> \u2013 In the frontend <code>Add Subaccount<\/code> form, hide the \"Company\" field if Multi-User mode is enabled.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Changed the names of the plugin shortcodes.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Removed the full stop punctuation mark at the end of field labels in plugin settings pages.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Minor CSS changes.<\/li>\n<li><strong>Dev<\/strong> \u2013 CSS and JS assets grouped by packages.<\/li>\n<li><strong>Dev<\/strong> \u2013 Reduced the use of scripts embedded in HTML\/PHP code in favor of using the wp_add_inline_script() function.<\/li>\n<li><strong>Dev<\/strong> \u2013 Renamed <code>sfwc_enqueue_frontend_style<\/code> function to <code>sfwc_enqueue_frontend_js_css<\/code>.<\/li>\n<li><strong>Dev<\/strong> \u2013 Renamed <code>sfwc_enqueue_backend_style<\/code> function to <code>sfwc_enqueue_backend_js_css<\/code>.<\/li>\n<li><strong>Dev<\/strong> \u2013 Removed functions <code>sfwc_enqueue_color_picker<\/code> and <code>sfwc_admin_inline_js_color_picker<\/code>.<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<p><em>Release Date August 15, 2025<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Provide admin with the ability to change the frontend <code>subaccount<\/code> endpoint.<\/li>\n<li><strong>New<\/strong> \u2013 Provide admin with the ability to assign specific role(s) to subaccounts created on frontend.<\/li>\n<li><strong>New<\/strong> \u2013 Provide admin with the ability to allow subaccounts to inherit the same roles as the parent account.<\/li>\n<li><strong>New<\/strong> \u2013 Provide the ability to keep subaccount roles synchronized with the parent account roles.<\/li>\n<li><strong>New<\/strong> \u2013 <code>Manage Subaccounts<\/code> page content now available as a shortcode.<\/li>\n<li><strong>New<\/strong> \u2013 <code>Subaccount Orders<\/code> page content now available as a shortcode.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Code optimizations for the <code>Add Subaccount<\/code> shortcode.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Provide parent accounts with the ability to clear\/reset order selection in the <code>Filter Orders<\/code> form on frontend.<\/li>\n<li><strong>Improvement<\/strong> \u2013 If Multi-User mode is enabled, change the reply-to in the email headers for <code>new_order<\/code>, <code>cancelled_order<\/code>, <code>failed_order<\/code> WooCommerce email notifications.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Update Freemius SDK to version 2.12.1.<\/li>\n<li><strong>Fix<\/strong> \u2013 In the user query of the <code>sfwc_query_users_for_possible_selection_as_subaccounts()<\/code> function, replace the <code>role<\/code> parameter with <code>role__in<\/code>.<\/li>\n<li><strong>Fix<\/strong> \u2013 When sanitizing order numbers, preserve alphanumeric strings.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix attempt to read property \"roles\" on false in the helper function <code>sfwc_is_user_role_valid()<\/code>.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix <code>call to a member function get_user_id() on false<\/code> on the WooCommerce email preview screen when WooCommerce <code>Email Improvements<\/code> option is enabled.<\/li>\n<li><strong>Tweak<\/strong> \u2013 By default show all orders on the <code>Subaccount Orders<\/code> page in the frontend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Moved the <code>Subaccounts<\/code> menu item before the <code>Settings<\/code> item in the admin area.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Shorten the column title <code>Order Placed By<\/code> to <code>Placed By<\/code> on the orders list page on frontend.<\/li>\n<\/ul>\n\n<h4>1.6.7<\/h4>\n\n<p><em>Release Date April 30, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Fix Broken Authentication vulnerability.<\/li>\n<\/ul>\n\n<h4>1.6.6<\/h4>\n\n<p><em>Release Date April 15, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Fix <code>sfwc_add_valid_roles<\/code> hook not working properly.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix plugin not working properly when website permalink structure is set to <code>Plain<\/code>.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix JavaScript issues that occur on front end when the <code>[woocommerce_my_account]<\/code> shortcode is placed within a <code>text<\/code> block instead of a <code>shortcode<\/code> block.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fix undefined <code>filter_account_type<\/code> on Edit Subaccount page in frontend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Display <code>Account<\/code>, <code>Contact Us<\/code> and <code>Add-ons<\/code> submenu items as plugin tabs in the backend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Provide both a HTML <code>class<\/code> and a unique HTML <code>id<\/code> for each navigation tab present in the <code>Subaccount<\/code> page on frontend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Provide HTML classes for each table column on the frontend <code>Manage Subaccounts<\/code> table.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Changed the HTML markup of the fields in the \"Account Details\" section of the <code>Edit Subaccount<\/code> frontend form.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Changed the HTML markup of the fields in the <code>Add Subaccount<\/code> frontend form.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Minor CSS changes.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Minor text strings changes.<\/li>\n<li><strong>Dev<\/strong> \u2013 Improvements to the helper functions: <code>sfwc_is_current_user_role_valid()<\/code>, <code>sfwc_is_user_role_valid()<\/code> and <code>sfwc_get_valid_roles()<\/code>.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_edit_subaccount_form_tag<\/code>, to allow developers to add extra attributes to the frontend <code>Edit Subaccount<\/code> form tag.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_add_subaccount_form_tag<\/code>, to allow developers to add extra attributes to the frontend <code>Add Subaccount<\/code> form tag.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_frontend_add_subaccount_form_after_fields<\/code>, to allow developers to add additional fields on frontend subaccount creation form.<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<p><em>Release Date January 27, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.11.0.<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<p><em>Release Date January 15, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 If the <code>Choose who can create and add new subaccounts<\/code> option is set to <code>Admin Only<\/code>, do not show the \"Add subaccount\" button in the notice that appears on the \"Manage subaccounts\" page when there are no subaccounts yet.<\/li>\n<li><strong>Fix<\/strong> \u2013 Correctly hide\/show the \"Manage Subaccounts\" page loading icon on frontend.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed plugin activation issues on multisite installations.<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<p><em>Release Date January 10, 2025<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Added \"All\" filter, to show managers along with their subaccounts on the <code>Manage Subaccounts<\/code> page on frontend (Subaccounts Pro and Supervisor Add-On required).<\/li>\n<li><strong>Improvement<\/strong> \u2013 If Multi-User mode is enabled, make <code>First Name<\/code>, <code>Last Name<\/code> and <code>Email<\/code> fields readonly on the checkout page.<\/li>\n<li><strong>Improvement<\/strong> \u2013 If the <code>Customer Display Name<\/code> option is set to <code>Company + Email<\/code> and the company name of the parent account is the same as the company name of the subaccount, for the subaccount show <code>Full Name<\/code> instead of <code>Company Name<\/code>.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.10.1.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed order confirmation email not being sent to guest users when multi-user mode is enabled.<\/li>\n<li><strong>Fix<\/strong> \u2013 If Multi-User mode is enabled, do not show the <code>Filter Orders<\/code> form on frontend for customers whose roles are not enabled in the plugin settings.<\/li>\n<li><strong>Fix<\/strong> \u2013 If Multi-User mode is enabled, do not show the <code>Order Placed By<\/code> column on the <code>Orders<\/code> page on frontend for customers whose roles are not enabled in the plugin settings.<\/li>\n<li><strong>Fix<\/strong> \u2013 Allow validation of additional roles added via the <code>sfwc_add_valid_roles<\/code> filter when adding new subaccounts on frontend.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed <code>jQuery not defined<\/code> if loading of JavaScript is deferred.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Removed <code>for himself<\/code> string.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Provided a HTML <code>id<\/code> to the box containing order information on the single order page on frontend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Minor CSS changes.<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<p><em>Release Date November 21, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Call to undefined function <code>sfwc_query_users_for_possible_selection_as_subaccounts()<\/code> resulting in the User Switcher not loading subaccounts.<\/li>\n<li><strong>Fix<\/strong> \u2013 Check if nonce exists before trying to verify it when the User Switcher form is submitted.<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<p><em>Release Date November 20, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Code improvements and security hardening.<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<p><em>Release Date November 15, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Load subaccounts present in both the User Switcher dropdown menu and the Subaccount Orders dropdown menu using Ajax search and infinite scroll to reduce memory usage for user queries.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Selectize CSS\/JS to version 0.15.2.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.9.0.<\/li>\n<li><strong>Fix<\/strong> \u2013 When obtaining subaccounts from the parent, a check has been added to ensure that the \"Account Type\" of the subaccounts is correct (to avoid inconsistencies if the subaccount's Account Type is later changed).<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new filter: <code>sfwc_add_valid_roles<\/code>, to allow developers to declare additional user roles as valid (<code>SFWC_VALID_ROLE_LOOSE_MODE<\/code> constant has to be defined and set to <code>true<\/code> in wp-config.php file).<\/li>\n<li><strong>Dev<\/strong> \u2013 Added helper function: <code>sfwc_get_valid_roles<\/code> to determine which roles are valid.<\/li>\n<\/ul>\n\n<h4>1.5.6<\/h4>\n\n<p><em>Release Date July 30, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.7.3.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed order metadata not being saved when creating new orders on block-enabled themes using the block-based Checkout page.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Added back-end notice about incompatibility with WooCommerce Blocks.<\/li>\n<li><strong>Dev<\/strong> \u2013 Declared incompatibility with WooCommerce Blocks.<\/li>\n<\/ul>\n\n<h4>1.5.5<\/h4>\n\n<p><em>Release Date May 30, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.7.2.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_frontend_edit_subaccount_after_account_details_fields<\/code>, to allow developers to add extra fields in the <code>Account Details<\/code> tab on the frontend <code>Edit Subaccount<\/code> page.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_frontend_after_edit_subaccount_validation<\/code>, to allow developers to save extra data when editing a subaccount on frontend.<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<p><em>Release Date April 2, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Flush permalinks to avoid <code>Error 404<\/code> on front-end <code>subaccounts<\/code> endpoint.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Compatibility with Pantheon hosting provider.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed front-end <code>Manage Subaccounts<\/code> tab not loading content in some cases.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Added tooltip text for the option <code>Select the buyer role(s) to enable the subaccount system for<\/code>.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Minor changes in <code>readme.txt<\/code> file.<\/li>\n<li><strong>Dev<\/strong> \u2013 Provide possibility to add prefix to cookie names.<\/li>\n<li><strong>Dev<\/strong> \u2013 Removed no longer necessary <code>SFWC_REQUIRES_PERMALINK_UPDATE<\/code> PHP constant and related code.<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<p><em>Release Date March 25, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Tweak<\/strong> \u2013 Conditionally hide part of front-end notice about successful subaccount creation if user switcher is disabled.<\/li>\n<li><strong>Dev<\/strong> \u2013 Removed code previously used for back-end notice about <code>Order Approval Add-On<\/code> release.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added <code>blueprint.json<\/code> to enable <code>Live Preview<\/code> button.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new <code>Requires Plugins<\/code> header.<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<p><em>Release Date February 15, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Make sure JavaScript functions are called after page load.<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<p><em>Release Date February 5, 2024<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Minor CSS improvements.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.6.2.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Added the <code>Edit order<\/code> button among those that can be shown in case <code>Order Approval Add-On<\/code> is active.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Added back-end notice about <code>Order Approval Add-On<\/code> release.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_frontend_edit_subaccount_accordion<\/code>, to allow developers to add additional accordion tabs on the <code>Edit subaccount<\/code> page on front end.<\/li>\n<li><strong>Dev<\/strong> \u2013 Changed priority of function: <code>sfwc_order_placed_by_update_order_meta_after_payment<\/code>, to prevent a race condition in case <code>Order Approval Add-On<\/code> is active.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<p><em>Release Date December 20, 2023<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 <code>Multi-User<\/code> feature officially released (no longer in beta stage).<\/li>\n<li><strong>New<\/strong> \u2013 Possibility to enable\/disable the user switcher.<\/li>\n<li><strong>Improvement<\/strong> \u2013 If Multi-User mode is enabled, when an order is placed by a subaccount or by a Manager on behalf of a subaccount, send the WC email notification to the subaccount.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Keep users selected in the <code>Filter Orders<\/code> front-end form while navigating through order list pages when Multi-User mode is enabled.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Display <code>On behalf of<\/code> value in the <code>Order placed by<\/code> column on front-end order list page when an order is placed by a Supervisor on behalf of a Manager or Subaccount with Multi-User mode enabled.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Better handling of those situations where an order was placed without storing the <code>_sfwc_order_placed_by_user_id<\/code> order meta value (prior to version 1.4.3).<\/li>\n<li><strong>Improvement<\/strong> \u2013 Better handling of those situations where the admin switches from Multi-User to Sub-User mode after some orders have already been placed.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Improved user role assignment logic when creating new subaccounts in front end.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Word \"password\" is now translatable on <code>Edit Subaccount<\/code> page in front end.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.6.1.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed missing redirect to the first page of the order list after submitting the <code>Filter Orders \/ Select Subaccount Orders<\/code> form in frontend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Removed \"beta\" warning from Multi-User option in backend.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Changed tooltip text for the options <code>Show subaccounts information on WooCommerce order page<\/code> and <code>Show subaccounts information on WooCommerce orders list page<\/code>.<\/li>\n<li><strong>Dev<\/strong> \u2013 Store <code>_sfwc_order_placed_during_subaccount_mode<\/code> order meta value on order creation.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added helper function: <code>sfwc_order_placed_during_subaccount_mode<\/code> to determine if an order was placed while the plugin was in Sub-User or Multi-User mode (by passing $order_id).<\/li>\n<li><strong>Dev<\/strong> \u2013 Pass additional argument <code>$parent_user_id<\/code> in <code>sfwc_frontend_after_add_subaccount_validation<\/code> hook.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_frontend_add_subaccount_form_before_fields<\/code>, to allow developers to add additional fields on frontend subaccount creation form.<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<p><em>Release Date October 25, 2023<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 User switcher now working also with persistent object cache enabled.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Always store <code>_sfwc_order_placed_by_user_id<\/code> order meta value, to provide better compatibility in case of switch from Sub-User to Multi-User mode and vice versa.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed <code>Order placed by<\/code> displaying incorrect information on front-end orders list page when the Manager places an order with Multi-User mode enabled.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed <code>Order placed by<\/code> displaying incorrect information on front-end order pages when the Manager places an order with Multi-User mode enabled.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed an issue where customers were unable to view certain orders on frontend when Multi-User mode is enabled.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed some translatability issues.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<p><em>Release Date September 5, 2023<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 General improvement in the orders query on front end when Multi-User mode is enabled (e.g. include orders placed by subaccounts before multi-user mode was enabled).<\/li>\n<li><strong>Improvement<\/strong> \u2013 Make the <code>Subaccount Info<\/code> meta box appear on back-end order pages when HPOS is enabled.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.5.12.<\/li>\n<li><strong>Fix<\/strong> \u2013 Changed the URL of the order number links in the <code>Order<\/code> column on <code>Subaccount Orders<\/code> page.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Updated plugin icon on settings page.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Conditionally add <code>Pro<\/code> text next to the plugin title on the settings page in case the premium version of the plugin is active.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<p><em>Release Date August 5, 2023<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Fixed undefined <code>selected_subaccount_orders_sanitized<\/code> on Orders page in frontend when Multi-User mode is enabled.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed undefined <code>current_user<\/code> on Edit Subaccount page in frontend.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added new hook: <code>sfwc_frontend_after_add_subaccount_validation<\/code>, to allow developers to save extra data on frontend subaccount creation.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<p><em>Release Date July 6, 2023<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Ability for a parent account to edit its subaccounts directly from its <em>My Account<\/em> area, within the newly introduced <code>Manage Subaccounts<\/code> page.<\/li>\n<li><strong>New<\/strong> \u2013 Multi-User mode [Beta feature].<\/li>\n<li><strong>Improvement<\/strong> \u2013 Minor code improvements.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.5.10.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed some user queries that prevented users with custom roles from being visible.<\/li>\n<li><strong>Fix<\/strong> \u2013 Prevented users with custom roles from appearing if their role is disabled in the plugin settings.<\/li>\n<li><strong>Fix<\/strong> \u2013 Call the <code>save()<\/code> method in function <code>sfwc_store_subaccounts_meta_data_on_order_creation<\/code>.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<p><em>Release Date May 25, 2023<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Possibility to limit the number of subaccounts that a parent account can create\/add.<\/li>\n<li><strong>New<\/strong> \u2013 Possibility to choose user roles (including custom ones) to enable the subaccount system for.<\/li>\n<li><strong>New<\/strong> \u2013 Possibility to force subaccounts to inherit the billing\/shipping address from their Manager (Subaccounts Pro required).<\/li>\n<li><strong>Improvement<\/strong> \u2013 Ability for the Manager to filter subaccounts present in the user switcher dropdown menu.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Preserve Subaccount Orders search while selecting subaccount orders.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.5.8.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Moved <code>Options<\/code> tab before <code>Appearance<\/code> tab on plugin settings page.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added helper function: <code>sfwc_is_current_user_role_valid<\/code> to determine if current user role is eligible for the subaccount system.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added helper function: <code>sfwc_is_current_user_role_enabled<\/code> to determine if current user role is enabled from plugin settings.<\/li>\n<li><strong>Dev<\/strong> \u2013 Added helper function: <code>sfwc_is_user_role_valid<\/code> to determine if user role is eligible for the subaccount system (by passing user ID).<\/li>\n<li><strong>Dev<\/strong> \u2013 Added helper function: <code>sfwc_is_user_role_enabled<\/code> to determine if user role is enabled from plugin settings (by passing user ID).<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<p><em>Release Date April 25, 2023<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Added <code>Account<\/code> column in Subaccount Orders page in front end.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Display <code>Account<\/code>, <code>Account type<\/code> and <code>Order placed by<\/code> information also in front-end order pages.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Minor CSS modifications in back-end users list to improve readability in case Subaccounts Pro is active.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.5.6.<\/li>\n<li><strong>Fix<\/strong> \u2013 Honor <code>Customer Display Name<\/code> setting in \"Order placed by\" column in front end.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Minor text changes and corrections.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<p><em>Release Date March 20, 2023<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Introduced support for the new WooCommerce High-Performance Order Storage (HPOS) feature.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.5.5.<\/li>\n<li><strong>Dev<\/strong> \u2013 Replaced deprecated hook <code>woocommerce_my_account_my_orders_columns<\/code> with <code>woocommerce_account_orders_columns<\/code>.<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<p><em>Release Date February 15, 2023<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Restored function <code>sfwc_register_subaccounts_endpoint<\/code> to prevent endpoint returning <code>Not Found Error<\/code>.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<p><em>Release Date February 10, 2023<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Added <code>Account<\/code> submenu item to show license activation status (<code>Subaccounts Pro<\/code> must be installed for the submenu item to appear).<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.5.3.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Make sure the <code>session expired<\/code> notice appears in front end also if the parent account has switched to a subaccount.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Escaped some URLs before redirects are applied.<\/li>\n<li><strong>Fix<\/strong> \u2013 Prevent <code>&lt;ul&gt;<\/code> tag from appearing twice in DOM on Subaccount Orders page in frontend.<\/li>\n<li><strong>Fix<\/strong> \u2013 Prevent showing the Subaccounts Order form in case the logged in Manager has no subaccount.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed undefined <code>wp_button_class<\/code> on Subaccount Orders page in frontend after form is submitted.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Corrected typo in function name <code>sfwc_insert_subaccounts_endpoint_content<\/code>.<\/li>\n<li><strong>Tweak<\/strong> \u2013 Modified some texts in the <code>Options<\/code> page in back end.<\/li>\n<li><strong>Removed<\/strong> \u2013 Removed function <code>sfwc_add_subaccounts_query_vars<\/code>.<\/li>\n<li><strong>Removed<\/strong> \u2013 Removed function <code>sfwc_register_subaccounts_endpoint<\/code>.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<p><em>Release Date December 5, 2022<\/em><\/p>\n\n<ul>\n<li><strong>Improvement<\/strong> \u2013 Make the user switcher pane appear immediately after the first subaccount is created for new accounts.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Prevent displaying the user switcher pane when only no longer existing subaccounts are present (e.g. subaccount users deleted by admin).<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed undefined <code>already_children_existing<\/code> on Add Subaccount page in front end.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<p><em>Release Date November 1, 2022<\/em><\/p>\n\n<ul>\n<li><strong>Fix<\/strong> \u2013 Fixed undefined <code>sfwc_option_display_name<\/code> on Subaccount Orders page in front end.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<p><em>Release Date October 5, 2022<\/em><\/p>\n\n<ul>\n<li><strong>New<\/strong> \u2013 Possibility for a parent account to view subaccount orders directly from its <em>My Account<\/em> area.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Enqueue front-end scripts and styles only on <em>My Account<\/em> area.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Front-end subaccounts section splitted up in tabs.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Added a notice in back end in case a permalink settings update is required after plugin updates.<\/li>\n<li><strong>Improvement<\/strong> \u2013 Updated Freemius SDK to version 2.4.5.<\/li>\n<li><strong>Fix<\/strong> \u2013 Fixed WooCommerce custom endpoint returning <code>Not Found Error<\/code> in some cases.<\/li>\n<li><strong>Dev<\/strong> \u2013 Defined two new PHP constants: <code>SFWC_CURRENT_VERSION<\/code> and <code>SFWC_REQUIRES_PERMALINK_UPDATE<\/code>.<\/li>\n<li><strong>Dev<\/strong> \u2013 Store current plugin release information in <code>wp_options<\/code> table.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p><em>Release Date June 25, 2022<\/em><\/p>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"The best subaccount management plugin for WooCommerce. Easily allow customers to create subaccounts or add users to their company accounts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/158661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=158661"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mediaticus"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=158661"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=158661"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=158661"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=158661"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=158661"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=158661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}