Core Function
View Source on Trac ↗ wp_dashboard_cached_rss_widget()
wp_dashboard_cached_rss_widget( mixed $widget_id, mixed $callback, mixed $check_urls = array(), mixed $args ) Checks to see if all of the feed url in $check_urls are cached.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $widget_id string | The widget ID. Required |
| $callback callable | The callback function used to display each feed. Required |
| $check_urls array | RSS feeds. |
| mixed | ...$args Optional additional parameters to pass to the callback function. Required |
Return Value
(bool)
True on success, false on failure.
Function Information
Since Version
2.5.0
Source File
wp-admin/includes/dashboard.php
Advertisement