(hook_prefix)length хук-фильтрWC 1.0

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

add_filter( '(hook_prefix)length', 'wp_kama_hook_prefixlength_filter', 10, 2 );

/**
 * Function for `(hook_prefix)length` filter-hook.
 * 
 * @param  $parent_data_length 
 * @param  $that               
 *
 * @return 
 */
function wp_kama_hook_prefixlength_filter( $parent_data_length, $that ){

	// filter...
	return $parent_data_length;
}
$parent_data_length
-
$that
-

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

WC_Product_Variation::get_length()
(hook_prefix)length
woocommerce/includes/class-wc-product-variation.php 249
$value = apply_filters( $this->get_hook_prefix() . 'length', $this->parent_data['length'], $this );

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

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