WP_Widget_Links::__construct()

In this article

Sets up a new Links widget instance.

Source

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

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.