Plugin Author
Chouby
(@chouby)
Hi,
You can add the language columns in the screen options on top right of your admin screen (but the content would not be filtered).
Your code would rather be:
update_user_meta( $user_id, 'pll_filter_content', 'en' );
Hi,
Thank you very much. It’s working 🙂
I have one more question how I can add more languges to hidden? For example: en,cs,de ?
I don’t know if this is best method but I resolve my problem by this code:
$languages_list = pll_languages_list();
foreach ($languages_list as &$value) {
$value = 'language_'.$value;
}
unset($value);
update_user_meta( $user_id, 'manageedit-postcolumnshidden', $languages_list );
-
This reply was modified 9 years, 4 months ago by
krystianj.