Home Forums General Issues ACF File – Preview of document Reply To: ACF File – Preview of document

  • There isn’t any way to change the icon shown by ACF.

    There are 2 hooks that might be used to alter what is displayed.

    The first is acf/prepare_field There isn’t much documentation on this one, but I don’t think it will let you do what you want to do. You’d need to figure that out.

    The other hook is acf/render_field This hook also will not do what you want but it would let you add html to the field to show additional information, like a thumbnail of an image. I can’t say if you can show a PDF or other file type. You can see an example of using acf/render_field used to show and image for a URL field here