woocommerce_downloadable_file_permission()
Deprecated since 3.0. 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
Int|true|false.
Usage
woocommerce_downloadable_file_permission( $download_id, $product_id, $order );
- $download_id(required)
- .
- $product_id(required)
- .
- $order(required)
- .
Changelog
| Deprecated since | 3.0 |
woocommerce_downloadable_file_permission() woocommerce downloadable file permission code WC 10.7.0
function woocommerce_downloadable_file_permission( $download_id, $product_id, $order ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_downloadable_file_permission' );
return wc_downloadable_file_permission( $download_id, $product_id, $order );
}