[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/js/ -> nav-menu.js (summary)

(no description)

File Size: 1928 lines (63 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  updateSharedVars()
  updateCurrentDepth()
  initialMenuMaxDepth()
  updateMenuMaxDepth()

Functions
Functions that are not part of a class:

updateSharedVars(ui)   X-Ref
Updates the shared variables used to determine the depth of the menu item being moved.

param: {Object} ui The jQuery UI object for the menu item being moved.

updateCurrentDepth(ui, depth)   X-Ref
Updates the current depth of the menu item being moved.

return: {void}
param: {Object} ui    The jQuery UI object for the menu item being moved.
param: {number} depth The new depth of the menu item being moved.

initialMenuMaxDepth()   X-Ref
Determines the initial menu max depth class on the body element.

return: {number} The initial menu max depth.

updateMenuMaxDepth( depthChange )   X-Ref
Updates the menu max depth class on the body element.

return: {void}
param: {number} depthChange The change in depth of the menu item being moved.



Generated : Tue Sep 15 08:20:32 2026 Cross-referenced by PHPXref