WordPress at Your Fingertips
function is not described

WC_Order_Data_Store_Interface::get_download_permissions_granted() public WC 1.0

Gets information about whether permissions were generated yet.

{} It's a method of the class: WC_Order_Data_Store_Interface{}

No Hooks.

Return

true|false.

Usage

$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface();
$WC_Order_Data_Store_Interface->get_download_permissions_granted( $order );
$order(WC_Order) (required)
Order object.

Code of WC_Order_Data_Store_Interface::get_download_permissions_granted() WC 5.8.0

public function get_download_permissions_granted( $order );