|

sureforms_tracking_enabled

Description: The following filter disables tracking in the SureForms.

add_filter( 'sureforms_tracking_enabled', '__return_false', 12, 1 );

This line hooks into the sureforms_tracking_enabled filter and forces it to always return false, effectively turning off any usage tracking or telemetry features in SureForms.

  • __return_false: A WordPress core function that returns false.
  • 12: Priority of the filter (default is 10; here it’s slightly delayed to allow earlier filters to run first).
  • 1: Number of arguments accepted by the filter callback.

Use Case:

Use this snippet if you want to opt out of data tracking for privacy or compliance reasons (such as GDPR or client preferences).

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
%title %title
On this page
Scroll to Top