WP_Widget_Tag_Cloud::__construct()publicWP 2.8.0

Sets up a new Tag Cloud widget instance.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Список изменений

С версии 2.8.0 Введена.

Код WP_Widget_Tag_Cloud::__construct() WP 6.5.2

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 );
}