(hook_prefix)(key)
Usage
add_filter( '(hook_prefix)(key)', 'wp_kama_hook_prefixkey_filter', 10, 2 );
/**
* Function for `(hook_prefix)(key)` filter-hook.
*
* @param $value
* @param $that
*
* @return
*/
function wp_kama_hook_prefixkey_filter( $value, $that ){
// filter...
return $value;
}
- $value
- -
- $that
- -
Where the hook is called
(hook_prefix)(key)
woocommerce/includes/abstracts/abstract-wc-data.php 438
$value = apply_filters( $this->get_hook_prefix() . $key, $value, $this );