WP_Widget_Meta::__construct()publicWP 2.8.0

Sets up a new Meta widget instance.

Method of the class: WP_Widget_Meta{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 2.8.0 Introduced.

WP_Widget_Meta::__construct() code WP 6.5.2

public function __construct() {
	$widget_ops = array(
		'classname'                   => 'widget_meta',
		'description'                 => __( 'Login, RSS, & WordPress.org links.' ),
		'customize_selective_refresh' => true,
		'show_instance_in_rest'       => true,
	);
	parent::__construct( 'meta', __( 'Meta' ), $widget_ops );
}