Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Functions to Save Settings on a WooCommerce Settings Tab
<?php
add_action( 'woocommerce_update_options_settings_tab_demo', 'update_settings' );
function update_settings() {
woocommerce_update_options( get_settings() );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment