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:
Rodrigo Primo 2019-01-10 17:10:13 -02:00
parent 609430a8f1
commit c15d622dd2
1 changed files with 1 additions and 1 deletions

View File

@ -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.