WordPress at a glance
function is not described

WP_Nav_Menu_Widget::__construct() public WP 3.0.0

Sets up a new Navigation Menu widget instance.

{} It's a method of the class: WP_Nav_Menu_Widget{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Nav_Menu_Widget = new WP_Nav_Menu_Widget();
$WP_Nav_Menu_Widget->__construct();

Changelog

Since 3.0.0 Introduced.

Code of WP_Nav_Menu_Widget::__construct() WP 5.7.2

<?php
public function __construct() {
	$widget_ops = array(
		'description'                 => __( 'Add a navigation menu to your sidebar.' ),
		'customize_selective_refresh' => true,
	);
	parent::__construct( 'nav_menu', __( 'Navigation Menu' ), $widget_ops );
}