autoship_checkout_recurring_variable_discount_string_html (filter)

(src/product-page.php) Used to modify the HTML of the Autoship checkout / recurring discount string on variable product pages. It takes the output HTML, the $product, and (Autoship) $strings as its parameters.

Code

  return apply_filters( 'autoship_checkout_recurring_variable_discount_string_html', ob_get_clean(), $product, $strings );

Found in the Functions

Code Examples