I've added a custom tab to my WooCommerce 'My Account' and need to fire another function when the options are saved. How can I hook into that update process?
add_action( 'woocommerce_settings_save_<id>', $array ); but can't figure out how to pass that ID variable.
Alternatively, is there a non-woocommerce specific hook that I can use? Something attached to saving user meta perhaps?