Overriding function exhibit_builder_items_search

Hi.

The Exhibit Builder has a function called exhibit_builder_items_search() in ExhibitBuilder/functions.php which creates a form element for advanced search. I have to change it because it hard-codes divs and classes and doesn't look right in my theme.

How can I override this function? I can't simply do it in my theme custom.php because I will get a "can't redeclare" error.

What's the correct way of overriding a plugin function?

Many thanks in advance.
All best,
Toma

I'd be really grateful if somebody could tell me whether it is possible to override plugin functions (see my previous posting) or whether one has no other choice but to make changes in the plugin itself.

All best,
Toma

Also interested in this.

A plugin function like this one cannot be redeclared or overridden.