WC_Order_Data_Store_Interface::get_download_permissions_granted()publicWC 1.0

Gets information about whether permissions were generated yet.

Метод класса: WC_Order_Data_Store_Interface{}

Хуков нет.

Возвращает

true|false.

Использование

$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface();
$WC_Order_Data_Store_Interface->get_download_permissions_granted( $order );
$order(WC_Order) (обязательный)
Order object.

Код WC_Order_Data_Store_Interface::get_download_permissions_granted() WC 8.7.0

public function get_download_permissions_granted( $order );