We found a quick solution without modifying polylang source files:
https://polylang.pro/doc/filter-reference/#pll_get_post_types
add_filter( 'pll_get_post_types', 'remove_post_translation_from_pll', 10, 2 );
function remove_post_translation_from_pll( $post_types, $is_settings ) {
unset( $post_types['post'] );
return $post_types;
}
-
This reply was modified 8 years, 7 months ago by stimul.