Change the empty cart message in Easy Digital Downloads

Change the empty cart message in Easy Digital Downloads on child sites.

Snippet Type

Execute on Child Sites

Snippet

function my_custom_empty_cart_message($message) {
	return '
' . $message . ' Please buy something.

';
}
add_filter('edd_empty_cart_message', 'my_custom_empty_cart_message');