You can use this piece of code
add_filter( 'wpglobus_manage_language_item', 'filter__wpglobus_manage_language_item', 10, 3 );
function filter__wpglobus_manage_language_item( $output, $post, $language ) {
return '';
}
-
This reply was modified 8 years, 2 months ago by Alex Gor.
Thread Starter
leskam
(@uzumymw)
Hmm that hook’s hides flags but i want to remove whole Language column. Is it possible ?
You can use
if ( class_exists( 'WPGlobus' ) ) {
global $wp_filter;
if ( ! empty( $wp_filter["manage_{$post_type}_posts_columns"][10] ) ) {
unset( $wp_filter["manage_{$post_type}_posts_columns"] );
}
}
Please, see http://adambrown.info/p/wp_hooks/hook to get info what is
“manage_{$post_type}_posts_columns” for your case
-
This reply was modified 8 years, 2 months ago by Alex Gor.
-
This reply was modified 8 years, 2 months ago by Alex Gor.
Starting from version WPGlobus 1.6.5 you can use filter
‘wpglobus_manage_posts_columns’
to disable WPGlobus column that displayed in the Posts list table.