Problem:
Is there a way to specify a custom file upload path or file name prefix for these fields so that I can protect those files as they are sensitive in nature and shouldn't be able to be found and accessed by the public?
Solution:
There isn't such kind of built-in feature within Toolset plugins, you will need to consider custom codes, for example:
https://toolset.com/forums/topic/upload-path-for-user-profile-files/#post-1302729
Relevant Documentation:
https://developer.wordpress.org/reference/hooks/upload_dir/
https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_handle_upload_prefilter
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
Este tema contiene 4 respuestas, tiene 2 mensajes.
Última actualización por hace 5 años, 4 meses.
Asistido por: Luo Yang.