Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_woocommerce_products_carousel_all_in_one_item_title( $title, $params ) {
- $title = '<h3 class="woocommerce-products-carousel-all-in-one-title">';
- $title .= '<a href="'. $params['product_url'] .'" title="'. $params['product']->post->post_title .'">'. $params['product']->post->post_title .'</a>';
- $title .= '</h3>';
- return $title;
- }
- add_filter('woocommerce_products_carousel_all_in_one_item_title', 'my_woocommerce_products_carousel_all_in_one_item_title', 1, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement