WC_Order_Data_Store_Interface::set_download_permissions_granted()
Stores information about whether permissions were generated yet.
Method of the class: WC_Order_Data_Store_Interface{}
No Hooks.
Return
null
. Nothing (null).
Usage
$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) (required)
- Order object.
- $set(true|false) (required)
- If should set.
WC_Order_Data_Store_Interface::set_download_permissions_granted() WC Order Data Store Interface::set download permissions granted code WC 9.6.1
public function set_download_permissions_granted( $order, $set );