Core Class
View Source on Trac ↗
Core Class
WP_Widget_Pages
class WP_Widget_Pages
// Constructor: function Object() { [native code] } Core class used to implement a Pages widget.
Methods 4 methods
| Method / Return | Description |
|---|---|
| __construct() void | Sets up a new Pages widget instance. |
| widget() void | Outputs the content for the current Pages widget instance.
Parameters: $args: mixed, $instance: mixed |
| update() array | Handles updating settings for the current Pages widget instance.
Parameters: $new_instance: mixed, $old_instance: mixed |
| form() void | Outputs the settings form for the Pages widget.
Parameters: $instance: mixed |
Class Information
Since Version
2.8.0
Source File
wp-includes/widgets/class-wp-widget-pages.php
Advertisement