apply_filters( 'thp_mult_radio_template_heading', "Would you also be interested in these items?")
This action hook is located in
/wp-content/plugins/woocommerce-upsell-popup-pro/templates/thp-popup-template-radio-mult.php, line 283.
This is the file template for “Template 1 – Radio Button” template, available for popups that display multiple upsell products.
This hook allows you to change the default heading where it says “Would you also be interested in these items?” that appears on the “Template 1 – Radio Button” popup template.
Let’s say you are selling books and you want to upsell the movie version of those books when your user buys the books. Let’s say you want to use “Template 1 – Radio Button” template for your popups and you want to replace the heading with your own text. This is how you can do so:
This is how it would appear on your popup (notice the heading):
Similar to the first example above, let’s say you don’t want to completely replace the default heading, you just want to change the heading by adding a little bit of text before the default heading. So this is an example of how you can do so:
This is how it would appear on your popup (again, notice the heading):
You normally drop these codes in your child theme’s functions.php file.