/**
 * Autoloads files with classes when needed
 *
 * @since  0.1.0
 * @param  string $class_name Name of the class being requested
 * @return void
 */
function wds_announcements_autoload_classes($class_name)
{
    if (0 !== strpos($class_name, 'WDS_')) {
        return;
    }
    $filename = strtolower(str_replace('_', '-', substr($class_name, strlen('WDS_'))));
    WDS_Announcements::include_file($filename);
}