1. Home
  2. Docs
  3. Woocommerce Upsell Popup PRO
  4. Action Hooks and Filters
  5. thp_mult_radio_template_before_radiobox


do_action( 'thp_mult_radio_template_before_radiobox' )

This action hook is located in /wp-content/plugins/woocommerce-upsell-popup-pro/templates/thp-popup-template-radio-mult.php, line 288.

This is the file template for “Template 1 – Radio Button” template, available for popups that display multiple upsell products.

This hook allows you to display/output custom information before the checkboxes wrapper on the “Template 1 – Radio Button” template.

Usage example:

By default, there is no subheading on the “Template 1 – Radio Button” template.

So let’s say you want to have a custom subheading below the default heading on this popup template. Here is how you can do it:

This is how it would appear on your popup now:

You normally drop this code into your child theme’s functions.php file.