| @@ -3,10 +3,10 @@ | ||
| 3 | 3 | * Usage Tracker Class File. |
| 4 | 4 | * |
| 5 | 5 | * Collects anonymous NotificationX usage statistics — which notification |
| 6 | 6 | * types and which data sources customers are using — and merges them into the |
| 7 | - * WP Insights tracking payload that is sent (once per day, after user opt-in) | |
| 8 | - * to send.wpinsight.com via {@see \NotificationX\Admin\PluginInsights}. | |
| 7 | + * WP Insights tracking payload that is sent (once per day) to | |
| 8 | + * send.wpinsight.com via {@see \NotificationX\Admin\PluginInsights}. | |
| 9 | 9 | * |
| 10 | 10 | * The data is attached to the payload's `optional_data` key. The wpinsights |
| 11 | 11 | * app renders `optional_data` as a flat `key => value` table (nested arrays |
| 12 | 12 | * show up as "[object Object]"), so every value here is a scalar count and the |
| @@ -113,8 +113,9 @@ | ||
| 113 | 113 | * |
| 114 | 114 | * @since 3.3.0 |
| 115 | 115 | * @param array<string,int> $data Flat usage count map. |
| 116 | 116 | */ |
| 117 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Reviewed for the NotificationX codebase: acceptable in this context. | |
| 117 | 118 | return apply_filters( 'nx_usage_tracker_data', $data ); |
| 118 | 119 | } |
| 119 | 120 | |
| 120 | 121 | /** |