woocommerce_downloadable_file_allowed_mime_types

woocommerce_downloadable_file_allowed_mime_types

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_downloadable_file_allowed_mime_types') is found 1 times:

  • /includes/class-wc-product-download.php line 49
    	 *
    	 * @return array
    	 */
    	public function get_allowed_mime_types() {
    		return apply_filters( 'woocommerce_downloadable_file_allowed_mime_types', get_allowed_mime_types() );
    	}
    
    	/**
    	 * Get type of file path set.
    	 *
    	 * @param  string $file_path optional.