diff --git a/includes/abstracts/abstract-wc-widget.php b/includes/abstracts/abstract-wc-widget.php index 0b4a10d61e8..4e57fe4be1d 100644 --- a/includes/abstracts/abstract-wc-widget.php +++ b/includes/abstracts/abstract-wc-widget.php @@ -347,7 +347,7 @@ abstract class WC_Widget extends WP_Widget { } } - return $link; + return apply_filters( 'woocommerce_widget_get_current_page_url', $link, $this ); } /**