woocommerce_is_downloadable filter-hook . WC 1.0
Checks if a product is downloadable.
Usage
add_filter( 'woocommerce_is_downloadable', 'filter_function_name_3842', 10, 2 ); function filter_function_name_3842( $true === $this->get_downloadable, $that ){ // filter... return $true === $this->get_downloadable; }
- $true === $this->get_downloadable
- -
- $that
- -
Where the hook is called
woocommerce_is_downloadable
woocommerce/includes/abstracts/abstract-wc-product.php 1468
return apply_filters( 'woocommerce_is_downloadable', true === $this->get_downloadable(), $this );