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

Output the cart shortcode.

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

add_filter( 'woocommerce_output_cart_shortcode_content', 'wp_kama_woocommerce_output_cart_shortcode_content_filter' );

/**
 * Function for `woocommerce_output_cart_shortcode_content` filter-hook.
 * 
 * @param array $atts Shortcode attributes.
 *
 * @return array
 */
function wp_kama_woocommerce_output_cart_shortcode_content_filter( $atts ){

	// filter...
	return $atts;
}
$atts(массив)
Shortcode attributes.

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

WC_Shortcode_Cart::output()
woocommerce_output_cart_shortcode_content
woocommerce/includes/shortcodes/class-wc-shortcode-cart.php 74
if ( ! apply_filters( 'woocommerce_output_cart_shortcode_content', true ) ) {

Где используется хук в WooCommerce

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