Created
March 9, 2017 23:45
-
-
Save digitalchild/202ee1ef2cafce023d316a9eb56c7d68 to your computer and use it in GitHub Desktop.
Change product title to date selector in WC Vendors Pro
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 | |
// Put this in your themes functions.php | |
add_filter( 'wcv_product_title', 'product_title_date' ); | |
function product_title_date( $args ){ | |
$args[ 'class' ] = 'wcv-datepicker'; | |
return $args; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment