WordPress at a glance
function is not described

WP_Widget_Search::__construct() public WP 2.8.0

Sets up a new Search widget instance.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.8.0 Introduced.

Code of WP_Widget_Search::__construct() WP 5.7.2

<?php
public function __construct() {
	$widget_ops = array(
		'classname'                   => 'widget_search',
		'description'                 => __( 'A search form for your site.' ),
		'customize_selective_refresh' => true,
	);
	parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
}