Cleanup meta after ping
This commit is contained in:
parent
b4ea8bb94f
commit
1e7b83b813
|
@ -698,6 +698,8 @@ class WC_Webhook {
|
|||
return new WP_Error( 'error', sprintf( __( 'Error: Delivery URL returned response code: %s', 'woocommerce' ), absint( $response_code ) ) );
|
||||
}
|
||||
|
||||
delete_post_meta( $this->id, '_webhook_pending_delivery' );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue