WordPress filter hook
really_simple_csv_importer_save_post
Defined by Really Simple CSV Importer and fired by 4 plugins in total, running on 41K+ sites between them.
“Filter post data.”
How to use really_simple_csv_importer_save_post
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:
add_filter( 'really_simple_csv_importer_save_post', function( $post, $is_update ) {
// Change $post here.
return $post;
}, 10, 2 );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_save_post
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Really Simple CSV Importer40,000+ installs
apply_filters( 'really_simple_csv_importer_save_post', $post, $is_update )rs-csv-importer.php:368 -
CSV Import and Exporter1,000+ installs
apply_filters( 'really_simple_csv_importer_save_post', $post, $is_update )import/rs-csv-importer.php:326 -
Importe CSV10+ installs
apply_filters( 'really_simple_csv_importer_save_post', $post, $is_update )rs-csv-importer.php:316 -
Miller Media CSV ImporterFewer than 10 installs
apply_filters( 'really_simple_csv_importer_save_post', $post, $is_update )miller-media-csv-importer.php:575
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.