Created
March 18, 2018 23:50
-
-
Save fervous/a12803848ccf362cf0941e3a80e8e011 to your computer and use it in GitHub Desktop.
change dashboard settings store address field labels and placeholders wc vendors pro
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
/* New City Label and Placeholder */ | |
add_filter('wcv_vendor_store_city', 'custom_wcv_vendor_store_city'); | |
function custom_wcv_vendor_store_city( $args ){ | |
$args['label'] = 'New Label Here'; | |
$args['placeholder'] = 'New Placeholder Here'; | |
return $args; | |
} | |
/* New State Label and Placeholder */ | |
add_filter('wcv_vendor_store_state', 'custom_wcv_vendor_store_state'); | |
function custom_wcv_vendor_store_state( $args ){ | |
$args['label'] = 'New Label Here'; | |
$args['placeholder'] = 'New Placeholder Here'; | |
return $args; | |
} | |
/* New Postcode Label and Placeholder */ | |
add_filter('wcv_vendor_store_postcode', 'custom_wcv_vendor_store_postcode'); | |
function custom_wcv_vendor_store_postcode( $args ){ | |
$args['label'] = 'New Label Here'; | |
$args['placeholder'] = 'New Placeholder Here'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment