/** * Outputs the content of the widget * * @param array $args * @param array $instance */ public function widget($args, $instance) { // outputs the content of the widget echo $args['before_widget']; if (!empty($instance['title'])) { echo $args['before_title'] . apply_filters('widget_title', $instance['title']) . $args['after_title']; } echo wcj_get_left_to_free_shipping($instance['content']); echo $args['after_widget']; }
/** * show_left_to_free_shipping_info. * * @version 2.4.4 * @since 2.4.4 */ function show_left_to_free_shipping_info($content) { echo wcj_get_left_to_free_shipping($content); }
/** * wcj_get_left_to_free_shipping. * * @version 2.5.8 * @since 2.4.4 */ function wcj_get_left_to_free_shipping($atts, $content) { return wcj_get_left_to_free_shipping($atts['content'], $atts['multiply_by']); }