| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Widget API: WP_Nav_Menu_Widget class
| File Size: | 202 lines (7 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WP_Nav_Menu_Widget:: (4 methods):
__construct()
widget()
update()
form()
Class: WP_Nav_Menu_Widget - X-Ref
Core class used to implement the Navigation Menu widget.| __construct() X-Ref |
| Sets up a new Navigation Menu widget instance. since: 3.0.0 |
| widget( $args, $instance ) X-Ref |
| Outputs the content for the current Navigation Menu widget instance. since: 3.0.0 param: array $args Display arguments including 'before_title', 'after_title', param: array $instance Settings for the current Navigation Menu widget instance. |
| update( $new_instance, $old_instance ) X-Ref |
| Handles updating settings for the current Navigation Menu widget instance. return: array Updated settings to save. since: 3.0.0 param: array $new_instance New settings for this instance as input by the user via param: array $old_instance Old settings for this instance. |
| form( $instance ) X-Ref |
| Outputs the settings form for the Navigation Menu widget. since: 3.0.0 param: array $instance Current settings. |
| Generated: Sat Nov 8 01:00:02 2025 | Cross-referenced by PHPXref 0.7.1 |