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.9.5.1

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.