Created
February 8, 2016 16:01
-
-
Save bentasm1/d875e201381c23148d68 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