how to change widget title tags in wordpress
//change sidebar parameters in child theme//
add_filter('dynamic_sidebar_params', 'twentytwentychild_edit_widget_func');
function twentytwentychild_edit_widget_func($params) {
$params[0]['before_title'] = '<h4 class="widget-title subheading heading-size-3">' ;
$params[0]['after_title'] = '</h4>' ;
return $params;
}