(hook_prefix)purchase_note
Usage
add_filter( '(hook_prefix)purchase_note', 'wp_kama_hook_prefixpurchase_note_filter', 10, 2 ); /** * Function for `(hook_prefix)purchase_note` filter-hook. * * @param $parent_data_purchase_note * @param $that * * @return */ function wp_kama_hook_prefixpurchase_note_filter( $parent_data_purchase_note, $that ){ // filter... return $parent_data_purchase_note; }
- $parent_data_purchase_note
- -
- $that
- -
Where the hook is called
(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 );