Skip to content

Commit 213b064

Browse files
committed
added new filter
1 parent 2ffb0c4 commit 213b064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/classes/class-admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,11 +963,11 @@ private function maybe_ping_ud() {
963963
);
964964
}
965965

966-
$response = $this->api->ping( array(
966+
$response = $this->api->ping( apply_filters('ud-api-client-ping-args', array(
967967
'product_id' => $this->slug,
968968
'version' => $this->args[ 'version' ],
969969
'detected_products' => base64_encode( json_encode( $detected_products ) ),
970-
) );
970+
), $this, $detected_products));
971971

972972
if ( false !== $response && empty( $response[ 'error' ] ) ) {
973973
update_option( 'ud_ping_' . sanitize_key( $this->slug ), array(

0 commit comments

Comments
 (0)