Merge pull request #4686 from claudiosmweb/fix_4684

Added $size param for woocommerce_placeholder_img function
This commit is contained in:
Coen Jacobs 2014-02-09 15:01:42 +01:00
commit dec12d7a1c
1 changed files with 2 additions and 2 deletions

View File

@ -381,8 +381,8 @@ function woocommerce_product_post_type_link( $permalink, $post ) {
function woocommerce_placeholder_img_src() {
return wc_placeholder_img_src();
}
function woocommerce_placeholder_img() {
return wc_placeholder_img();
function woocommerce_placeholder_img( $size = 'shop_thumbnail' ) {
return wc_placeholder_img( $size );
}
function woocommerce_get_formatted_variation( $variation = '', $flat = false ) {
return wc_get_formatted_variation( $variation, $flat );