{"id":5394869,"date":"2014-10-16T13:52:12","date_gmt":"2014-10-16T13:52:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-approvals\/"},"modified":"2016-08-22T03:31:23","modified_gmt":"2016-08-22T03:31:23","slug":"conditional-approvals","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-approvals\/","title":{"rendered":"Conditional Approvals"},"content":{"rendered":"<p>I would like to use this plugin with a Gravity Forms form on a WooCommerce site.<br \/>\nWhat I would like to achieve is the following &#8216;conditional approval&#8217;:-<\/p>\n<ol>\n<li>user fills out application form for <strong>wholesale<\/strong> account (I have a wholesale role defined on the site)<\/li>\n<li>status of user account is set to approval pending<\/li>\n<\/ol>\n<p>All other account creation is normal. In this way the approval process would only be applied to users who have requested a &#8216;wholesale&#8217; account. Users who buy products and checkout (and in doing so create an account with &#8216;customer&#8217; role) would not be affected.<\/p>\n<p>I have the neccessary Gravity Form setup with the User Registration add-on &#8211; just wanted to check if what I&#8217;m attempting can be done before I go any further.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/new-user-approve\/<\/p>\n","protected":false},"template":"","class_list":["post-5394869","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5394869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5394869\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5394869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}