@rocio1011 It works for you to do what? Your code connects to a different hook than the other code snippets discussed earlier, so I’m not sure I can tell what it does or how to try it for myself. Can you explain a little more?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users