Change the “view your shopping cart” text

In WP Menu Cart Pro you can change all texts directly from the settings:

Free version #

To change the text View your shopping cart that is shown when hovering the Menu Cart item (free & pro) and the text in the fly-out (pro), add the follow code to your themes functions.php (check this page if you haven’t edited functions.php before):

/**
 * Change WP Menu Cart "View your shopping cart" text
 */
add_filter('wpmenucart_fulltitle', 'wpmenucart_view_cart_text' );
add_filter('wpmenucart_viewcarttext', 'wpmenucart_view_cart_text' );
function wpmenucart_view_cart_text ( $text ) {
    $text = 'View your shopping bag';
    return $text;
}
 8  5