wp_nav_menu_manage_columns() WordPress Function
The wp_nav_menu_manage_columns() function is used to manage the columns in the WordPress admin menu editor. This function allows you to add, remove, or change the order of the columns in the editor.
wp_nav_menu_manage_columns() #
Returns the columns for the nav menus page.
Return
(string[]) Array of column titles keyed by their column name.
Source
File: wp-admin/includes/nav-menu.php
function wp_nav_menu_manage_columns() { return array( '_title' => __( 'Show advanced menu properties' ), 'cb' => '<input type="checkbox" />', 'link-target' => __( 'Link Target' ), 'title-attribute' => __( 'Title Attribute' ), 'css-classes' => __( 'CSS Classes' ), 'xfn' => __( 'Link Relationship (XFN)' ), 'description' => __( 'Description' ), ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |