Makes it easier for other plugins to alter or modify the scripts and styles that are loaded.
Should run after $core->getDependenciesFiles()
WordPress plugin's alter_assets()
1. Pull Request where functionality works as intended.
2. GitHub issue is kept up-to-date: https://github.com/h5p/h5p-moodle-plugin/issues/12