I tried this as well, without luck. I would really appreciate an update from you on this. Thanks!
remove_action( ‘woocommerce_widget_shopping_cart_buttons’, ‘woocommerce_widget_shopping_cart_button_view_cart’, 10 );
remove_action( ‘woocommerce_widget_shopping_cart_buttons’, ‘woocommerce_widget_shopping_cart_proceed_to_checkout’, 20 );
add_action( ‘woocommerce_widget_shopping_cart_buttons’, ‘my_woocommerce_widget_shopping_cart_proceed_to_checkout’, 999 );
function my_woocommerce_widget_shopping_cart_proceed_to_checkout() {
echo ‘‘ . esc_html__( ‘Instant Checkout’, ‘woocommerce’ ) . ‘‘;
}
Hi @linesofcodese,
Sullivan doesn’t modify the contents of the mini cart. You’ll probably have a better chance of getting help on the official WooCommerce support forums: https://wordpress.org/support/plugin/woocommerce
— Anders