Thanks for your answer. I want to change field for several reasons but one of them is I need to create statistic and in this specific case I can’t use your solution because it’s will be very too long to edit and save all our old post.
For exemple I need to :
I probabely can use your filter but did you know a solution to apply filter to all post (by PT for exemple) and save ? For exemple load mass change from a option page I create ?
Appart from this your function is very usefull and I probably can edit it to fit for many case.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!