[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-admin/js/ -> customize-nav-menus.js (summary)

(no description)

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

Defines 6 functions


Functions that are not part of a class:

getNavMenuCount()   X-Ref
Get number of non-deleted nav menus.

return: {number} Count.

updateNoticeVisibility()   X-Ref
Update visibility of notice to prompt users to create menus.

return: {void}

addChangeEventListener( setting )   X-Ref
Handle setting addition.

param: {wp.customize.Setting} setting - Added setting.
return: {void}

removeChangeEventListener( setting )   X-Ref
Handle setting removal.

param: {wp.customize.Setting} setting - Removed setting.
return: {void}

menuItemIdToSettingId( menuItemId )   X-Ref

param: {String} menuItemId

displayNavMenuName( name )   X-Ref
Apply sanitize_text_field()-like logic to the supplied name, returning a
"unnammed" fallback string if the name is then empty.

param: {string} name
return: {string}

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1