public static register_handler_settings_fields ( $group, $section, $handler_type = null, $current = null ) |
public static function register_handler_settings_fields($group, $section, $handler_type = null, $current = null)
{
if ($current === null) {
$current = Falcon::get_option('bbsub_handler_options', array());
}
try {
$handler = Falcon::get_handler_class($handler_type);
} catch (Exception $e) {
return false;
}
$handler::register_option_fields($group, $section, $current);
}