-
-
Save fervous/738a641c4bfba1339ada72b87dd5a569 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Placeholder for Description and Title
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 - Custom Description Placeholder Text */ | |
function custom_wcv_product_description( $args ) { | |
$args = array( | |
'placeholder' => __( 'Placeholder Text Here', 'wcvendors-pro' ) | |
); | |
return $args; | |
} | |
add_filter( 'wcv_product_description', 'custom_wcv_product_description'); | |
/* WC Vendors Pro - Custom Title Placeholder Text */ | |
function custom_wcv_product_title( $args ) { | |
$args = array( | |
'placeholder' => __( 'Placeholder Text Here', 'wcvendors-pro' ) | |
); | |
return $args; | |
} | |
add_filter( 'wcv_product_title', 'custom_wcv_product_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not work correctly... prevents product edit