wp_widget_rss_form example

unset( $rss );
            }
        }

        update_option( 'dashboard_widget_options', $widget_options );

        $locale    = get_user_locale();
        $cache_key = 'dash_v2_' . md5( $widget_id . '_' . $locale );
        delete_transient( $cache_key );
    }

    wp_widget_rss_form( $widget_options[ $widget_id ]$form_inputs );
}


/** * Renders the Events and News dashboard widget. * * @since 4.8.0 */
function wp_dashboard_events_news() {
    wp_print_community_events_markup();

    
'title'        => '',
                'url'          => '',
                'items'        => 10,
                'error'        => false,
                'show_summary' => 0,
                'show_author'  => 0,
                'show_date'    => 0,
            );
        }
        $instance['number'] = $this->number;

        wp_widget_rss_form( $instance );
    }
}
Home | Imprint | This part of the site doesn't use cookies.