WC_Customer_Download_Data_Store_Interface::delete_by_id()
Method to delete a download permission from the database by ID.
Метод класса: WC_Customer_Download_Data_Store_Interface{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Customer_Download_Data_Store_Interface = new WC_Customer_Download_Data_Store_Interface(); $WC_Customer_Download_Data_Store_Interface->delete_by_id( $id );
- $id(int) (обязательный)
- Download Permission ID.
Код WC_Customer_Download_Data_Store_Interface::delete_by_id() WC Customer Download Data Store Interface::delete by id WC 8.7.0
public function delete_by_id( $id );