mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
https://stackoverflow.com/questions/77009013/how-to-change-the-text-from-buttons-in-woocommerce-mini-cart
5 lines
346 B
Text
5 lines
346 B
Text
add_action( 'woocommerce_widget_shopping_cart_buttons', function(){
|
|
// Removing Button
|
|
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 );
|
|
}, 1 );
|