Thank you for your inputs, unfortunately it’s not working either…
I also tried to change the function’s name, no luck.
If I comment add_action('pre_get_posts', 'my_pre_get_posts'); it’s working, but it doesn’t use the function ;;
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users