This seems like a simple question, but has proven to be difficult to find information for.
I’m working with some WordPress plugins that have a terrible output – specifically, The Events Calendar 1.6.5. This plugin has PHP files for the output of event content like gridview.php, list.php, single.php, and table.php. I am familiar with hooking into the functions that these files call to override how the plugin works, but I need to change the entire display format to fit my theme.
Is there a way to override these display files, or do I just make my own themed file and call the same functions that the plugin files use?
I was searching for a similar answer. I’m not exactly sure how Events Calendar is implemented, but speaking from experience of having done something similar with Business Directly Plugin, you can overwrite the hooks by having it hook to your own methods from your theme’s functions.php file.
Here is an except I wrote to override the hook ‘wpbdm_show-add-listing-form’: