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.


Top ↑

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' ),
	);
}


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.