Filter
rpress_disable_tracking_checkin
On this page
Filters whether the tracking check-in is disabled.
Runs at the start of the tracking check-in routine. Return true to stop the site from sending its check-in data. Sites on the restropress.com home URL are always stopped, and the user's tracking opt-in setting is checked after this filter.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$disabled | bool | Whether the check-in is disabled. Default false. |
Return value#
bool. True to disable the check-in.
Example#
add_filter( 'rpress_disable_tracking_checkin', '__return_true' );
Source#
Applied in:
includes/admin/tracking.php(line 100), inRPRESS_Tracking::send_checkin()
Was this page helpful?
