Change ‘Return To Store’ text button in WooCommerce

If You Want to Change ‘Return To Store’ text button in WooCommerce. The filter is called woocommerce_return_to_shop_text and this is how you can use it.

add_filter('woocommerce_return_to_shop_text', 'codeithub_prefix_store_button');
/**
 * Change 'Return to Shop' text on button
 */
function codeithub_prefix_store_button() {
        $store_button = "Back to Store"; // Change text as required

        return $store_button;
}

Before:

Return to shop Button

After:

Change Return to shop Button
See also  Secure WordPress Login Page 2021

Leave a Reply

Your email address will not be published. Required fields are marked *