woocommerce_readfile_chunked()
Deprecated since 2.1. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Returns
true|false.
Usage
woocommerce_readfile_chunked( $file, $retbytes );
- $file(required)
- .
- $retbytes
- .
Default:true
Changelog
| Deprecated since | 2.1 |
woocommerce_readfile_chunked() woocommerce readfile chunked code WC 10.8.1
function woocommerce_readfile_chunked( $file, $retbytes = true ) {
wc_deprecated_function( 'woocommerce_readfile_chunked', '2.1', 'WC_Download_Handler::readfile_chunked()' );
return WC_Download_Handler::readfile_chunked( $file );
}