woocs_price_html_tail
Use this hook if you want to add any additional information text after a product price on the shop/category page.
Example:
add_filter('woocs_price_html_tail', function($price_html)
{
return $price_html . "<strong>Hello World!</strong>";
});
Combine it with CSS (in style.css) code if necessary:
.woocs_price_html_tail{
display: none;
}
body.single-product .woocs_price_html_tail{
display: block;
}
body.single-product .related .woocs_price_html_tail{
display: none;
}
