Skip to content
Docs
Get RestroPress

Filter

rpress_disable_tracking_checkin

Updated
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#

ParameterTypeDescription
$disabledboolWhether 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), in RPRESS_Tracking::send_checkin()
Was this page helpful?