[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/customize/ -> class-wp-customize-nav-menus-panel.php (summary)

Customize API: WP_Customize_Nav_Menus_Panel class

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

Defines 1 class

WP_Customize_Nav_Menus_Panel:: (4 methods):
  render_screen_options()
  wp_nav_menu_manage_columns()
  content_template()
  check_capabilities()


Class: WP_Customize_Nav_Menus_Panel  - X-Ref

Customize Nav Menus Panel Class

Needed to add screen options.

render_screen_options()   X-Ref
Render screen options for Menus.

since: 4.3.0

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

Link title attribute added as it's a relatively advanced concept for new users.

since: 4.3.0

content_template()   X-Ref
An Underscore (JS) template for this panel's content (but not its container).

Class variables for this panel class are available in the `data` JS object;
export custom variables by overriding WP_Customize_Panel::json().

since: 4.3.0

check_capabilities()   X-Ref
Checks required user capabilities and whether the theme has the
feature support required by the panel.

return: bool False if theme doesn't support the panel or the user doesn't have the capability.
since: 5.9.0



Generated: Sat Nov 23 01:00:02 2024 Cross-referenced by PHPXref 0.7.1