• Hi,

    The function “export_wp” could be improved for developers use.

    Here are some suggestions:

    – To be able to pass in parameters a list of post_id to export
    – To be able to pass in parameters a list of term_id to export

    – Ability to disable header generation:

    header('Content-Description: File Transfer');
    ....

    – Add a hook to line 164:
    $where = apply_filters( 'export_wp_where', $where, $args );

    Thanks,

    Regards

    Stephan Renault

    • This topic was modified 2 years, 9 months ago by StephanR.
  • The topic ‘Improve function “export_wp”’ is closed to new replies.