WP_Widget_Links::__construct
Sets up a new Links widget instance.
Method of the class: WP_Widget_Links{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Widget_Links = new WP_Widget_Links(); $WP_Widget_Links->__construct();
Changelog
| Since 2.8.0 | Introduced. |
WP_Widget_Links::__construct() WP Widget Links:: construct code WP 6.9
public function __construct() {
$widget_ops = array(
'description' => __( 'Your blogroll' ),
'customize_selective_refresh' => true,
);
parent::__construct( 'links', __( 'Links' ), $widget_ops );
}