Created
January 11, 2017 15:47
-
-
Save fervous/073604acbefa9c67734c977c57733363 to your computer and use it in GitHub Desktop.
wc vendors pro , change / rename tabs store settings
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
/* WC Vendors Pro Rename Tabs on settings page */ | |
add_filter('wcv_store_tabs', 'rename_wcv_store_tabs'); | |
function rename_wcv_store_tabs( $store_tabs ){ | |
if ( array_key_exists('store', $store_tabs ) ) $store_tabs[ 'store' ][ 'label' ] = 'Your New Name Here'; | |
return $store_tabs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment