WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_product_add_to_cart_description хук-фильтр . WC 1.0

translators: %s: Product title

Использование

add_filter( 'woocommerce_product_add_to_cart_description', 'filter_function_name_5141', 10, 2 );
function filter_function_name_5141( $sprintf, $that ){
	// filter...

	return $sprintf;
}
$sprintf
-
$that
-

Где вызывается хук

WC_Product_Simple::add_to_cart_description()
woocommerce_product_add_to_cart_description
WC_Product::add_to_cart_description()
woocommerce_product_add_to_cart_description
WC_Product_External::add_to_cart_description()
woocommerce_product_add_to_cart_description
WC_Product_Grouped::add_to_cart_description()
woocommerce_product_add_to_cart_description
WC_Product_Variable::add_to_cart_description()
woocommerce_product_add_to_cart_description
woocommerce/includes/class-wc-product-simple.php 68
return apply_filters( 'woocommerce_product_add_to_cart_description', sprintf( $text, $this->get_name() ), $this );
woocommerce/includes/abstracts/abstract-wc-product.php 1839
return apply_filters( 'woocommerce_product_add_to_cart_description', sprintf( __( 'Read more about “%s”', 'woocommerce' ), $this->get_name() ), $this );
woocommerce/includes/class-wc-product-external.php 192
return apply_filters( 'woocommerce_product_add_to_cart_description', $this->get_button_text() ? $this->get_button_text() : sprintf( __( 'Buy “%s”', 'woocommerce' ), $this->get_name() ), $this );
woocommerce/includes/class-wc-product-grouped.php 53
return apply_filters( 'woocommerce_product_add_to_cart_description', sprintf( __( 'View products in the “%s” group', 'woocommerce' ), $this->get_name() ), $this );
woocommerce/includes/class-wc-product-variable.php 71
return apply_filters( 'woocommerce_product_add_to_cart_description', sprintf( __( 'Select options for “%s”', 'woocommerce' ), $this->get_name() ), $this );

Где используется хук (в ядре WC)

Использование не найдено.