I want to make some changes to the online users widget and I want to know which php files renders it. Basically add some colors to the different profile types, but I can't find that php file to edit for the widget! Is it a core wordpress file or a wpforo file?
You need to modify the wpForo_Widget_online_members class, it can be found in the wp-content/plugins/wpforo/wpf-includes/functions-template.php file.
However, you'll need to keep these changes, in a case to not lose it during the upgrade process.
Thanks!
Is there a way to create a folder with overrides so my changes aren't lost during an upgrade?
To update:
I know I can create overrides for theme files like this:
https://wpforo.com/docs/root/forum-themes/theme-customization/
But I want to create an override for other wpforo files like the above functions-template.php
Thanks!