Support

Account

Home Forums Feature Requests Uploaded Files Location Reply To: Uploaded Files Location

  • I had the same issue as @dtx211. I solved the problem by passing an array with the filters:

    add_filter('acf/upload_prefilter/name=my_acf_upload_fieldname', array( $this, 'field_name_upload_prefilter' ) );

    AND

    add_filter('upload_dir', array( $this, 'field_name_upload_dir' ) );

    Also ensure, that the upload directory has the right access rights and maybe already exists.