(hook_prefix)length хук-фильтр . WC 1.0
Inherit value from parent.
Использование
add_filter( '(hook_prefix)length', 'filter_function_name_9640', 10, 2 ); function filter_function_name_9640( $parent_data_length, $that ){ // filter... return $parent_data_length; }
- $parent_data_length
- -
- $that
- -
Где вызывается хук
(hook_prefix)length
woocommerce/includes/class-wc-product-variation.php 249
$value = apply_filters( $this->get_hook_prefix() . 'length', $this->parent_data['length'], $this );