Provider::add_filters()
Add the filter hooks.
Source
File: src/Common/Telemetry/Provider.php
public function add_filters() {
add_filter( 'stellarwp/telemetry/optin_args', [ $this, 'filter_optin_args' ] );
add_filter( 'stellarwp/telemetry/exit_interview_args', [ $this, 'filter_exit_interview_args' ] );
add_filter( 'http_request_args', [ $this, 'filter_telemetry_http_request_args' ], 10, 2 );
}
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |