polylang integratred site show all blogs without language differnce
function turn_blogposts_translation_off( $post_types, $is_settings ) {
unset( $post_types['post'] );
return $post_types;
}
add_filter( 'pll_get_post_types', 'turn_blogposts_translation_off', 10, 2 );
Are there any code examples left?
New code examples in category Other