I certainly understand, and do plan to add more options in the future, but haven’t had the time to implement them. I’m hoping to have a default option for which alerts (warnings, watches, and advisories) to show and then the same option per widget/shortcode so it can be customized to the needs of the area being observed.
For now the only way to customize this is to use the ‘nws_alerts_allowed_alert_types’ filter, which can be added to a theme functions.php file.
An example (based on your feedback) would be something like this:
function custom_nws_alerts_allowed_alert_types($allowed_alert_types) {
$allowed_alert_types[] = 'Tornado Watch';
$allowed_alert_types[] = 'Severe Thunderstorm Watch';
$allowed_alert_types[] = 'Flash Flood Watch';
$allowed_alert_types[] = 'Flood Watch';
$allowed_alert_types[] = 'High Wind Watch';
$allowed_alert_types[] = 'Winter Storm Watch';
$allowed_alert_types[] = 'Fire Weather Watch';
$allowed_alert_types[] = 'Frost Advisory';
$allowed_alert_types[] = 'Heat Advisory';
return $allowed_alert_types;
}
add_filter('nws_alerts_allowed_alert_types', 'custom_nws_alerts_allowed_alert_types');
You can remove any line that you don’t want to show. If there are any others that you want to show up, just add them in the same way. I plan to keep this filter in place indefinitely, at the widget/shortcode scope, so it’s safe to use through plugin updates.