woo_sl/show_extend_button/label

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

Name
woo_sl/show_extend_button/label

Type
Filter

Arguments
$label
$order_id
$order_item_id
$new_price
$_product_expire_units
$_product_expire_time

Description
Change the Extend Button label

Example of usage

    add_filter('woo_sl/show_extend_button/label', 'custom_show_extend_button_label', 10, 5);
    function custom_show_extend_button_label( $label, $order_id, $order_item_id, $new_price, $_product_expire_units, $_product_expire_time )
        {
            
            $label = 'Extend Product for ' . $new_price;
               
            return $label;   
        }

By woocommerce-sl, posted on April 8, 2020

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