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