Uses
Uses | Description |
---|---|
wp-includes/widgets.php: wp_widget_rss_form() | Display RSS widget options form. |
Outputs the settings form for the RSS widget.
(array) (Required) Current settings.
File: wp-includes/widgets/class-wp-widget-rss.php
public function form( $instance ) { if ( empty( $instance ) ) { $instance = array( 'title' => '', 'url' => '', 'items' => 10, 'error' => false, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0, ); } $instance['number'] = $this->number; wp_widget_rss_form( $instance ); }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget_rss/form