• Hi there,

    I have a custom post type with several custom meta fields defined for the create post page. Quite a lot of these are uploading images using the wp_handle_upload function – 22 to be exact. My problem is that the form works fine up until the last 2 image uploads. If I comment out 2 of the earlier ones the last ones do work, so it seems as though there is a limit to how many times you can call wp_handle_upload from a single form. Has anyone encountered this before or have any suggestions how to solve it?

    Many thanks in advance for your help.

The topic ‘Multiple calls to wp_handle_upload’ is closed to new replies.