woocommerce_downloadable_product_download_log_insert_format

woocommerce_downloadable_product_download_log_insert_format

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_downloadable_product_download_log_insert_format') is found 1 times:

  • /includes/data-stores/class-wc-customer-download-log-data-store.php line 58
     
    		$result = $wpdb->insert(
    			$wpdb->prefix . self::get_table_name(),
    			apply_filters( 'woocommerce_downloadable_product_download_log_insert_data', $data ),
    			apply_filters( 'woocommerce_downloadable_product_download_log_insert_format', $format, $data )
    		);
    
    		do_action( 'woocommerce_downloadable_product_download_log_insert', $data );
    
    		if ( $result ) {
    			$download_log->set_id( $wpdb->insert_id );