WC_Order_Data_Store_Interface::set_download_permissions_granted()publicWC 1.0

Stores information about whether permissions were generated yet.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface();
$WC_Order_Data_Store_Interface->set_download_permissions_granted( $order, $set );
$order(WC_Order) (обязательный)
Order object.
$set(true|false) (обязательный)
If should set.

Код WC_Order_Data_Store_Interface::set_download_permissions_granted() WC 8.7.0

public function set_download_permissions_granted( $order, $set );