Created
November 7, 2019 14:35
-
-
Save nvourva/060a59970302b2c735ce62af9d0cceb4 to your computer and use it in GitHub Desktop.
Manage post list columns on Noozbeat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_filter( 'manage_edit-post_columns', 'ci_theme_post_edit_columns' ); | |
add_filter( 'manage_edit-post_columns', 'ci_theme_post_edit_all_columns', 99 ); | |
if ( ! function_exists( 'ci_theme_post_edit_all_columns' ) ) : | |
function ci_theme_post_edit_all_columns( $columns ) { | |
$new_column['in_front'] = __( 'In front page', 'ci-theme' ); | |
array_splice( $columns, 2, 0, $new_column ); | |
return $columns; | |
} | |
endif; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment