WC_Data::get_id() does not take any parameters
This commit removes a parameter from a call to WC_Data::get_id() as this method does not take any parameters
This commit is contained in:
parent
609430a8f1
commit
c15d622dd2
|
@ -146,7 +146,7 @@ class WC_Webhook_Data_Store implements WC_Webhook_Data_Store_Interface {
|
|||
$wpdb->prefix . 'wc_webhooks',
|
||||
$data,
|
||||
array(
|
||||
'webhook_id' => $webhook->get_id( 'edit' ),
|
||||
'webhook_id' => $webhook->get_id(),
|
||||
)
|
||||
); // WPCS: DB call ok.
|
||||
|
||||
|
|
Loading…
Reference in New Issue