Created
July 29, 2021 09:15
-
-
Save digitalchild/f6e64d16a92a68226b4fe2b4ac01b760 to your computer and use it in GitHub Desktop.
Override the vendor seller info field in WC Vendors Pro Dashboard
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 this to your themes functions.php | |
// Use the filter in the first argument found in the class-wcvendors-pro-store-form.php | |
add_filter( 'wcv_vendor_seller_info', 'custom_wcv_vendor_seller_info' ); | |
function custom_wcv_vendor_seller_info( $args ){ | |
$args['label'] = 'About Us'; | |
$args['desc_tip'] = true; | |
$args['description'] = 'Helper text under field'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment