Home Forums ACF PRO Own custom field type to upload files Reply To: Own custom field type to upload files

  • Hello @acf-support,

    sorry my english is terrible.

    I want to upload a file. But i don’t want an insert in the media library.

    My problem isn’t the upload. The file is at the right place and so on.

    My problem is the automatic in acf to create after upload this attachment insert in the database.

    I use a filter for wp_handle_upload_prefilter – but after this it starts ever the function acf_upload_files();. I look for a way to prevent or to stop this. Because this function create the media library insert. I don’t want this insert.

    I will upload advertising images. These images has only one size! And i don’t need the other formats.

    I can upload, but i can’t the insert in the database and the media libary.

    Thanks vor your help!