I want to remove the "Browse Products" button on the subscription page of My account area.
I found the output in the template file my-subscriptions.php
.
But there is no filter to remove it without editing the template file.
Is there any other way to do that? Maybe there is a way to change the link of the button (to a specific product) and the text?
This is the code for the link:
<a class="woocommerce-Button button" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
<?php esc_html_e( 'Browse products', 'woocommerce-subscriptions' ); ?>
</a>