woocommerce_format_log_entry filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_format_log_entry', 'filter_function_name_8854', 10, 2 ); function filter_function_name_8854( $entry, $array ){ // filter... return $entry; }
- $entry
- -
- $array
- -
Where the hook is called
woocommerce_format_log_entry
woocommerce/includes/abstracts/abstract-wc-log-handler.php 46-55
return apply_filters( 'woocommerce_format_log_entry', $entry, array( 'timestamp' => $timestamp, 'level' => $level, 'message' => $message, 'context' => $context, ) );