WP_Widget_Links::__construct()publicWP 2.8.0

Sets up a new Links widget instance.

Method of the class: WP_Widget_Links{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.8.0 Introduced.

WP_Widget_Links::__construct() code WP 6.1.1

public function __construct() {
	$widget_ops = array(
		'description'                 => __( 'Your blogroll' ),
		'customize_selective_refresh' => true,
	);
	parent::__construct( 'links', __( 'Links' ), $widget_ops );
}