woo_sl/default_expire/renew_price

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPrint this page

Type
Filter

Arguments
float $renew_price
integer $order_item_id
integer $licence_group_id

Description
Add / Remove / Change ‘instances per key’ text.

Example of usage
An example on how to change the text from ‘7 domains per key’ to ‘7 seats per key’:


add_filter('woo_sl/default_expire/renew_price', 'woosl_apply_renew_discount', 10, 2);
function woosl_apply_renew_discount( $renew_price, $order_item_id, $discount_rules = null ) 
    {
 ...
   return $renew_price;
}

By woocommerce-sl, posted on February 27, 2026

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments