How keep woocommerce users separeted in multisite install and keep admins on network

I don’t know if is the best way to do this but aparently works well. I override the users table adding one with an blog_id field as key. Add an “wp_pre_insert_user_data” filter to set the blog_id field and change the user id to some like “blog_id000user_id” (100044 for example is from blog 1). Override the … Read more

HTML link within my plugin settings page

Just use old simple HTML, the <a> tag. <a href=”https://wordpress.stackexchange.com/questions/24208/admin.php?page=yourplugin/another-page.php” title=”another page”>Another Page</a> If your page is php only: echo ‘<a href=”https://wordpress.stackexchange.com/questions/24208/admin.php?page=yourplugin/another-page.php” title=”another page”>Another Page</a>’; Where yourplugin is your plugin folder name, and another-page.php is that other page.

How to delete all the options in an option group

Usually, the Codex is a good resource for doing research on things like this … and there are functions related to register_setting() listed directly on it’s page in the Codex. The function you’re looking for is unregister_setting(). From it’s Codex page: Description Allows clean de-registration of registered settings. Should be used mostly in deactivation hooks. … Read more