WP_Widget_Tag_Cloud::__construct
Sets up a new Tag Cloud widget instance.
Method of the class: WP_Widget_Tag_Cloud{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Widget_Tag_Cloud = new WP_Widget_Tag_Cloud(); $WP_Widget_Tag_Cloud->__construct();
Changelog
| Since 2.8.0 | Introduced. |
WP_Widget_Tag_Cloud::__construct() WP Widget Tag Cloud:: construct code WP 6.8.3
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 );
}