Please, try putting following code in the functions.php
file and open a random page (eg. "All posts" tab in admin panel):
add_filter('pll_get_taxonomies', function ($taxonomies) {
var_dump('FILTER WORKS');
return $taxonomies;
}, 10);
It doesn't work for me. I don't think a child theme might be the issue (since after_theme_setup
is fired after parent and child themes are loaded).