Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter to override the RS_CSV_Helper class #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martinburchell
Copy link

This change allows the RS_CSV_Helper class to be customised with a new really_simple_csv_helper_class filter - the same way as the really_simple_csv_importer_class filter works.

My reason for doing this is that I am importing taxonomy data rather than posts and the importer will report an 'invalid post type' error. I also want to trim white space from the column headings.

@hissy
Copy link
Owner

hissy commented Oct 11, 2017

It looks meaningful. Did you tested on php5.3?

@martinburchell
Copy link
Author

@hissy we've not yet tested this on 5.3 but we will be in the next couple of weeks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants