woocommerce_download_file_

woocommerce_download_file_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_download_file_') is found 1 times:

  • /includes/class-wc-download-handler.php line 245
    		// Add action to prevent issues in IE.
    		add_action( 'nocache_headers', array( __CLASS__, 'ie_nocache_headers_fix' ) );
    
    		// Trigger download via one of the methods.
    		do_action( 'woocommerce_download_file_' . $file_download_method, $file_path, $filename );
    	}
    
    	/**
    	 * Redirect to a file to start the download.
    	 *
    	 * @param string $file_path File path.