Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: [Polylang] ACF Polylang
    wellard

    (@wellard)

    Hi, I ve got same problem from last update. This should work, put this code into file functions.php in your theme folder:

    add_filter('pll_get_post_types', 'unset_cpt_pll', 10, 2);
    function unset_cpt_pll( $post_types, $is_settings ) {
            unset($post_types['acf-field-group']);
    
        return $post_types;
    }
Viewing 1 replies (of 1 total)