WP_Widget_Tag_Cloud::__construct()publicWP 2.8.0

Sets up a new Tag Cloud widget instance.

Метод класса: WP_Widget_Tag_Cloud{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.8.0 Introduced.

Code of WP_Widget_Tag_Cloud::__construct() WP 6.1.1

public function __construct() {
	$widget_ops = array(
		'description'                 => __( 'A cloud of your most used tags.' ),
		'customize_selective_refresh' => true,
		'show_instance_in_rest'       => true,
	);
	parent::__construct( 'tag_cloud', __( 'Tag Cloud' ), $widget_ops );
}