Home Forums Basel support forum Override BASEL_Search class

Override BASEL_Search class

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8901

    wmacquinn
    Participant

    I’m trying to modify some of the functionality of the BASEL_Search class in \inc\classes\Search.php

    Is it possible to override that file using the child theme?

    #8902

    Artem Temos
    Keymaster

    Hello,

    Thank you for the question.

    Unfortunately, classes can’t be overridden in the child theme. All you can do is to unhook all methods (use remove_action()) and hook your own functions created in the child theme.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)