Core Class
View Source on Trac ↗
Core Class
WP_Nav_Menu_Widget
class WP_Nav_Menu_Widget
// Constructor: function Object() { [native code] } Core class used to implement the Navigation Menu widget.
Methods 4 methods
| Method / Return | Description |
|---|---|
| __construct() void | Sets up a new Navigation Menu widget instance. |
| widget() void | Outputs the content for the current Navigation Menu widget instance.
Parameters: $args: mixed, $instance: mixed |
| update() array | Handles updating settings for the current Navigation Menu widget instance.
Parameters: $new_instance: mixed, $old_instance: mixed |
| form() void | Outputs the settings form for the Navigation Menu widget.
Parameters: $instance: mixed |
Class Information
Since Version
3.0.0
Source File
wp-includes/widgets/class-wp-nav-menu-widget.php
Advertisement