Action hook not working after update ‘woocommerce_product_thumbnails’
-
I’ve a very basic function which adds a simple text before product gallery thumbnails. It was working fine before the update but after I updated WooCommerce to the latest version. Now text is added in the dom but visibility is gone also looks like it’s placed in a wrong position. Here is the function:
function skyverge_add_below_featured_image() { echo '<h4 style="text-align:center;margin-top:10px;">Click to Enlarge</h4>'; } add_action( 'woocommerce_product_thumbnails' , 'skyverge_add_below_featured_image', 20 );
I tried switching WooCommerce older version and it works fine on the old one. But not working with the latest version.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Action hook not working after update ‘woocommerce_product_thumbnails’’ is closed to new replies.