I have a problem with the Page Link field and filters : it doesn’t display every Custom Post Type.
WordPress version : 4.9.1
Advanced Custom Fields PRO version : 5.6.7
I desactivate a lot of plugins and just keep Polylang, iThemes Security and Yoast SEO.
All my CTP (custom post type) are created using register_post_type() function (no plugin). There is no significant difference between each CTPs, only name and slug changes.
So I started to do some tests :
I have a Page Link field with no filter Result:
It displays Page, Posts, Media and one of my CTP called CTA.
Now I filter some CTP: Service, Tarifs, Popin, CTA
It only displays CTA custom post type.
I remove CTA so my filter looks like: Service, Tarifs, Popin
It works, it displays Service, Tarifs, Popin
Now I add Page and Posts to the filter so it looks like: Service, Tarifs, Popin, Page, Post
it displays Page, Post but none of my CTP.
I don’t how to solve this problem :
– do you know which file ACF uses to display the Page Link dropdown ?
– is there a way to modify the behavior without modifying the plugin (I do update frequently) ?