function rates_register($type, $name, $description, $edit_function, $header_function, $content_function) { require_once GSPLUGINPATH . 'rates/rates.class.php'; return Rates::registerPlugin($type, $name, $description, $edit_function, $header_function, $content_function); }