Sanitisation file field
-
Hi,
I need to save attachment data for using them network wide in a multisite. I tried implementing this via
sanitization_cb
callback function. But when using a callback function for file type fields it’s impossible to change the file in the dashboard. Even if the callback function do nothing.Link with the code example:
https://joxi.ru/823gNV9h6gQYw2Able to change another image, but cannot save, eg:
https://joxi.ru/82QWRvZI1KkDorIs it possible to do this via callback function, or I have to use filter instead?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Sanitisation file field’ is closed to new replies.