WordPress filter hook

really_simple_csv_importer_dry_run

Defined by Really Simple CSV Importer and fired by 4 plugins in total, running on 41K+ sites between them.

“Option for dry run testing”

How to use really_simple_csv_importer_dry_run

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

functions.php
add_filter( 'really_simple_csv_importer_dry_run', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from Really Simple CSV Importer's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

4 plugins that fire really_simple_csv_importer_dry_run

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

  1. Really Simple CSV Importer icon Really Simple CSV Importer40,000+ installs apply_filters( 'really_simple_csv_importer_dry_run', false ) rs-csv-importer.php:403
  2. CSV Import and Exporter icon CSV Import and Exporter1,000+ installs apply_filters( 'really_simple_csv_importer_dry_run', false ) import/rs-csv-importer.php:361
  3. Importe CSV icon Importe CSV10+ installs apply_filters( 'really_simple_csv_importer_dry_run', false ) rs-csv-importer.php:320
  4. Miller Media CSV Importer icon Miller Media CSV ImporterFewer than 10 installs apply_filters( 'really_simple_csv_importer_dry_run', false ) miller-media-csv-importer.php:617

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.