WordPress at Your Fingertips
filter is not described

woocommerce_return_to_shop_text filter-hook . WC 4.6.0

Filter "Return To Shop" text.

Usage

add_filter( 'woocommerce_return_to_shop_text', 'filter_function_name_6426' );
function filter_function_name_6426( $default_text ){
	// filter...

	return $default_text;
}
$default_text(string)
Default text.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

In file: /templates/cart/cart-empty.php
woocommerce_return_to_shop_text
woocommerce/templates/cart/cart-empty.php 35
echo esc_html( apply_filters( 'woocommerce_return_to_shop_text', __( 'Return to shop', 'woocommerce' ) ) );

Where in WP core the hook is used WooCommerce

Usage not found.