WordPress filter hook

devdcorev1_error_report_redact

Fired by 10 WordPress plugins, running on 3,000+ sites between them.

How to use devdcorev1_error_report_redact

It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'devdcorev1_error_report_redact', function( $value, $plugin ) {
	// Change $value here.
	return $value;
}, 10, 2 );

Argument names come from DevDome Media Cleaner: Remove Unused Images & Media Library Cleanup's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

10 plugins that fire devdcorev1_error_report_redact

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. DevDome Media Cleaner: Remove Unused Images & Media Library Cleanup icon DevDome Media Cleaner: Remove Unused Images & Media Library Cleanup500+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  2. DevDome Country Blocker: Geo Blocking, GeoIP Block icon DevDome Country Blocker: Geo Blocking, GeoIP Block400+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  3. DevDome Redirect Manager: Link Rotator, Geo Redirect & 302 Redirect icon DevDome Redirect Manager: Link Rotator, Geo Redirect & 302 Redirect300+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  4. DevDome Analytics: Bot Traffic vs Human Traffic Website Statistics icon DevDome Analytics: Bot Traffic vs Human Traffic Website Statistics300+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  5. DevDome Link Monitor: Broken Link Checker, Dead Link Checker, Broken Link Finder icon DevDome Link Monitor: Broken Link Checker, Dead Link Checker, Broken Link Finder300+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  6. DevDome Affiliate Manager: Amazon Affiliate Plugin for Amazon Associates icon DevDome Affiliate Manager: Amazon Affiliate Plugin for Amazon Associates300+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  7. DevDome Malware Scanner icon DevDome Malware Scanner300+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  8. DevDome Admin Cleaner: Remove Dashboard Widgets and Hide Menu Items icon DevDome Admin Cleaner: Remove Dashboard Widgets and Hide Menu Items300+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  9. DevDome Bot Protection: Bot Blocker and AI Crawler Control icon DevDome Bot Protection: Bot Blocker and AI Crawler Control200+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126
  10. DevDome Activity Log: Track WordPress User Activity icon DevDome Activity Log: Track WordPress User Activity100+ installs apply_filters( 'devdcorev1_error_report_redact', (string) $text, $plugin ) lib/devdome-core/hub-error-report.php:126

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.