Developer hooks

Premium

Tune batch behavior, customize order notes, and react when a CSV job finishes.

Reviewed 2026-08-02

Processing filters

  • csv_order_status_changer_chunk_size: rows per interactive request. Default 1 favors smooth live progress.
  • csv_order_status_changer_batch_size: rows per background batch. Default 25.
  • csv_order_status_changer_batch_delay: seconds between background batches. Default 0.

Raise sizes carefully. Larger batches reduce requests but increase the work and failure impact of each request.

Order-note filter

Use csv_order_status_changer_order_note to customize the note recorded with each applied status change. Keep the note useful for store staff and avoid placing secrets or unnecessary personal data in order history.

Completion action

csv_order_status_changer_after_process fires when a job finishes and receives the result log. Use it for internal reporting or to notify an integration that the complete file has been processed.

Troubleshooting logs

Return true from csv_order_status_changer_enable_logging to send caught status-change exceptions to WooCommerce logging. Enable it only while investigating a failure and avoid logging sensitive file contents in additional custom code.

Still need help?

Tell us what you are trying to do and where you got stuck.

Contact support