For anybody looking for having custom fields in every activity module, you can use the following plugin:
https://moodle.org/plugins/local_modcustomfields
It uses the callbacks to implement the Custom Field API for activity modules.
https://moodle.org/plugins/local_modcustomfields
It uses the callbacks to implement the Custom Field API for activity modules.