WC_Order::is_download_permitted()

Checks if product download is permitted.


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/class-wc-order.php

	public function is_download_permitted() {
		return apply_filters( 'woocommerce_order_is_download_permitted', $this->has_status( 'completed' ) || ( 'yes' === get_option( 'woocommerce_downloads_grant_access_after_payment' ) && $this->has_status( 'processing' ) ), $this );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.