I´m trying to find out how to pass information through $post_data while doing the media handle upload. I can´t find documentation about it.
I have a Form with the Upload, where people fill in the title of the attachment and other custom fields.
Now i would like to pass this information with the media_handle_upload();
<?php media_handle_upload( $file_id, $post_id, $post_data, $overrides ); ?>
Can you tell me in which order i have to write in the array?
And am I missing out something else?
Thanks in Advance
To get into the gritty details, currently $post_data is only used to merge with defaults: