(hook_prefix)sku filter-hook . WC 1.0
Inherit value from parent.
Usage
add_filter( '(hook_prefix)sku', 'filter_function_name_6639', 10, 2 ); function filter_function_name_6639( $parent_data_sku, $that ){ // filter... return $parent_data_sku; }
- $parent_data_sku
- -
- $that
- -
Where the hook is called
(hook_prefix)sku
woocommerce/includes/class-wc-product-variation.php 217
$value = apply_filters( $this->get_hook_prefix() . 'sku', $this->parent_data['sku'], $this );