WPDev.one
Core Class

WP_Widget_Recent_Comments

class WP_Widget_Recent_Comments // Constructor: function Object() { [native code] }

Core class used to implement a Recent Comments widget.

Methods 6 methods

Method / Return Description
__construct()
void

Sets up a new Recent Comments widget instance.

recent_comments_style()
void

Outputs the default styles for the Recent Comments widget.

widget()
void

Outputs the content for the current Recent Comments widget instance.

Parameters: $args: mixed, $instance: mixed
update()
array

Handles updating settings for the current Recent Comments widget instance.

Parameters: $new_instance: mixed, $old_instance: mixed
form()
void

Outputs the settings form for the Recent Comments widget.

Parameters: $instance: mixed
flush_widget_cache()
void

Flushes the Recent Comments widget cache.

Class Information

Since Version
2.8.0
Source File
wp-includes/widgets/class-wp-widget-recent-comments.php
Advertisement