[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-admin/includes/ -> nav-menu.php (summary)

(no description)

File Size: 1334 lines (53 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

Walker_Nav_Menu_Edit:: (3 methods):
  start_lvl()
  end_lvl()
  start_el()

Walker_Nav_Menu_Checklist:: (19 methods):
  __construct()
  start_lvl()
  end_lvl()
  start_el()
  _wp_ajax_menu_quick_search()
  wp_nav_menu_setup()
  wp_initial_nav_menu_meta_boxes()
  wp_nav_menu_post_type_meta_boxes()
  wp_nav_menu_taxonomy_meta_boxes()
  wp_nav_menu_disabled_check()
  wp_nav_menu_item_link_meta_box()
  wp_nav_menu_item_post_type_meta_box()
  wp_nav_menu_item_taxonomy_meta_box()
  wp_save_nav_menu_items()
  _wp_nav_menu_meta_box_object()
  wp_get_nav_menu_to_edit()
  wp_nav_menu_manage_columns()
  _wp_delete_orphaned_draft_menu_items()
  wp_nav_menu_update_menu_items()


Class: Walker_Nav_Menu_Edit  - X-Ref

Create HTML list of nav menu input items.

start_lvl( &$output, $depth = 0, $args = array()   X-Ref
Starts the list before the elements are added.

param: string $output Passed by reference.
param: int    $depth  Depth of menu item. Used for padding.
param: array  $args   Not used.

end_lvl( &$output, $depth = 0, $args = array()   X-Ref
Ends the list of after the elements are added.

param: string $output Passed by reference.
param: int    $depth  Depth of menu item. Used for padding.
param: array  $args   Not used.

start_el( &$output, $item, $depth = 0, $args = array()   X-Ref
Start the element output.

param: string $output Passed by reference. Used to append additional content.
param: object $item   Menu item data object.
param: int    $depth  Depth of menu item. Used for padding.
param: array  $args   Not used.
param: int    $id     Not used.

Class: Walker_Nav_Menu_Checklist  - X-Ref

Create HTML list of nav menu input items.

__construct( $fields = false )   X-Ref
No description

start_lvl( &$output, $depth = 0, $args = array()   X-Ref
Starts the list before the elements are added.

param: string $output Passed by reference. Used to append additional content.
param: int    $depth  Depth of page. Used for padding.
param: array  $args   Not used.

end_lvl( &$output, $depth = 0, $args = array()   X-Ref
Ends the list of after the elements are added.

param: string $output Passed by reference. Used to append additional content.
param: int    $depth  Depth of page. Used for padding.
param: array  $args   Not used.

start_el( &$output, $item, $depth = 0, $args = array()   X-Ref
Start the element output.

param: string $output Passed by reference. Used to append additional content.
param: object $item   Menu item data object.
param: int    $depth  Depth of menu item. Used for padding.
param: array  $args   Not used.
param: int    $id     Not used.

_wp_ajax_menu_quick_search( $request = array()   X-Ref
Prints the appropriate response to a menu quick search.

param: array $request The unsanitized request values.

wp_nav_menu_setup()   X-Ref
Register nav menu metaboxes and advanced menu items


wp_initial_nav_menu_meta_boxes()   X-Ref
Limit the amount of meta boxes to just links, pages and cats for first time users.


wp_nav_menu_post_type_meta_boxes()   X-Ref
Creates metaboxes for any post type menu item.


wp_nav_menu_taxonomy_meta_boxes()   X-Ref
Creates metaboxes for any taxonomy menu item.


wp_nav_menu_disabled_check( $nav_menu_selected_id )   X-Ref
Check whether to disable the Menu Locations meta box submit button

param: int|string $nav_menu_selected_id (id, name or slug) of the currently-selected menu
return: string Disabled attribute if at least one menu exists, false if not

wp_nav_menu_item_link_meta_box()   X-Ref
Displays a metabox for the custom links menu item.


wp_nav_menu_item_post_type_meta_box( $object, $post_type )   X-Ref
Displays a metabox for a post type menu item.

param: string $object Not used.
param: string $post_type The post type object.

wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy )   X-Ref
Displays a metabox for a taxonomy menu item.

param: string $object Not used.
param: string $taxonomy The taxonomy object.

wp_save_nav_menu_items( $menu_id = 0, $menu_data = array()   X-Ref
Save posted nav menu item data.

param: int $menu_id The menu ID for which to save this item. $menu_id of 0 makes a draft, orphaned menu item.
param: array $menu_data The unsanitized posted menu item data.
return: array The database IDs of the items saved

_wp_nav_menu_meta_box_object( $object = null )   X-Ref
Adds custom arguments to some of the meta box object types.

param: object $object The post type or taxonomy meta-object.
return: object The post type of taxonomy object.

wp_get_nav_menu_to_edit( $menu_id = 0 )   X-Ref
Returns the menu formatted to edit.

param: string $menu_id The ID of the menu to format.
return: string|WP_Error $output The menu formatted to edit or error object on failure.

wp_nav_menu_manage_columns()   X-Ref
Returns the columns for the nav menus page.

return: string|WP_Error $output The menu formatted to edit or error object on failure.

_wp_delete_orphaned_draft_menu_items()   X-Ref
Deletes orphaned draft menu items


wp_nav_menu_update_menu_items( $nav_menu_selected_id, $nav_menu_selected_title )   X-Ref
Saves nav menu items

param: int|string $nav_menu_selected_id (id, slug, or name ) of the currently-selected menu
param: string $nav_menu_selected_title Title of the currently-selected menu
return: array $messages The menu updated message



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu