We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffb0c4 commit 213b064Copy full SHA for 213b064
lib/classes/class-admin.php
@@ -963,11 +963,11 @@ private function maybe_ping_ud() {
963
);
964
}
965
966
- $response = $this->api->ping( array(
+ $response = $this->api->ping( apply_filters('ud-api-client-ping-args', array(
967
'product_id' => $this->slug,
968
'version' => $this->args[ 'version' ],
969
'detected_products' => base64_encode( json_encode( $detected_products ) ),
970
- ) );
+ ), $this, $detected_products));
971
972
if ( false !== $response && empty( $response[ 'error' ] ) ) {
973
update_option( 'ud_ping_' . sanitize_key( $this->slug ), array(
0 commit comments