-
-
Save fervous/376f573c72582b9a258afe6abcd250ea to your computer and use it in GitHub Desktop.
Add a description / tip to fields on the WC Vendors Pro front end.
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_filter('wcv_product_description', 'custom_wcv_product_description'); | |
function custom_wcv_product_description( $args ){ | |
$args['desc_tip'] = true; | |
$args['description'] = 'REQUIRED. Describe your product in detail for your customers. Include size, materials & any relevant information here.'; | |
return $args; | |
} | |
add_filter('wcv_vendor_store_description', 'custom_wcv_vendor_store_description'); | |
function custom_wcv_vendor_store_description( $args ){ | |
$args['desc_tip'] = true; | |
$args['description'] = 'Optional. Give a brief, keyword-rich description of your shop. This is used with SEO. This will be shown under your shop banner on your storefront.'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment