Skip to content

Instantly share code, notes, and snippets.

@waltermesser
Created April 1, 2017 00:25
Show Gist options
  • Save waltermesser/b3c91c1a2efdb028a5c7cbccd341e87a to your computer and use it in GitHub Desktop.
Save waltermesser/b3c91c1a2efdb028a5c7cbccd341e87a to your computer and use it in GitHub Desktop.
// Priority of 11 is important, WP overwrites anything before that.
add_filter( 'manage_nav-menus_columns', '_my_nav_menu_columns', 11 );
function _my_nav_menu_columns( $columns = array() ) {
$columns['popup_id'] = __( 'Popup', 'popup-maker' );
return $columns;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment