Created
February 20, 2019 20:58
-
-
Save KaineLabs/9cae5fc1a54da26e5c141b2e3ce61b82 to your computer and use it in GitHub Desktop.
Set Default Profile Woocommerce 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 | |
/** | |
* Set Default Profile Woocommerce Tab. | |
*/ | |
function yzc_profile_woocommerce_default_tab() { | |
return 'orders'; | |
} | |
add_filter( 'yz_profile_woocommerce_default_tab', 'yzc_profile_woocommerce_default_tab' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment