Created
July 12, 2014 02:57
-
-
Save BFTrick/8e5ee3a983860eba3ee1 to your computer and use it in GitHub Desktop.
Functions to Save Settings on a WooCommerce Settings Tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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