I created a template.php file, put the following function inside, saved, and flushed all Drupal cache. The desired change didn't occur.
function garku_process_html(&$variables) {
$variables['styles'] = preg_replace('/.css\?.*"/','.css"', $variables['styles']);
}
How should I declare the usage of a new template.php file in a Drupal 8 sub-theme?
I ask since I haven't found anything about this in the documentation, for example in Overview of theme files.