Filtering each text on a label before the output (there can be multiple texts for one label, e.g. in the output of attributes).
Parameters:
- $text – line with a text.
- $label – label settings.
- $product – WC_Product object of a product or a line with the text ‘demo’.
