WC_Customer::get_downloadable_products()

Gets a customer’s downloadable products.


Description Description


Return Return

(array) Array of downloadable products


Top ↑

Source Source

File: includes/class-wc-customer.php

	public function get_downloadable_products() {
		$downloads = array();
		if ( $this->get_id() ) {
			$downloads = wc_get_customer_available_downloads( $this->get_id() );
		}
		return apply_filters( 'woocommerce_customer_get_downloadable_products', $downloads );
	}


Top ↑

User Contributed Notes User Contributed Notes

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