Skip to content

Instantly share code, notes, and snippets.

@digitalchild
Created July 29, 2021 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalchild/f6e64d16a92a68226b4fe2b4ac01b760 to your computer and use it in GitHub Desktop.
Save digitalchild/f6e64d16a92a68226b4fe2b4ac01b760 to your computer and use it in GitHub Desktop.
Override the vendor seller info field in WC Vendors Pro Dashboard
<?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