I don't have this issue. However I changed some things around this. The filter is called now only one time quite soon in the process. Maybe before you create it.
How do you use the 'pll_get_post_types' ?
I don't have this issue. However I changed some things around this. The filter is called now only one time quite soon in the process. Maybe before you create it.
How do you use the 'pll_get_post_types' ?