woocommerce_downloadable_product_download_log_insert_data
Usage
add_filter( 'woocommerce_downloadable_product_download_log_insert_data', 'wp_kama_woocommerce_downloadable_product_download_log_insert_data_filter' ); /** * Function for `woocommerce_downloadable_product_download_log_insert_data` filter-hook. * * @param $data * * @return */ function wp_kama_woocommerce_downloadable_product_download_log_insert_data_filter( $data ){ // filter... return $data; }
- $data
- -
Where the hook is called
woocommerce_downloadable_product_download_log_insert_data
woocommerce/includes/data-stores/class-wc-customer-download-log-data-store.php 57
apply_filters( 'woocommerce_downloadable_product_download_log_insert_data', $data ),