Home Forums WoodMart support forum Can not filter properly the `get_search_form`filter

Can not filter properly the `get_search_form`filter

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #512555

    dimmisel
    Participant

    Hi, I tried to make a customization to the search form with PHP.

    I see that a filter already exists:
    apply_filters( 'get_search_form', ob_get_clean() )

    The problem is that this filter is missing the $args param, making it pretty unusable.

    Could you please show this to your developer and ask him to add this parameter? It is a very small and simple change.

    Thank you

    #512604

    Luke Nielsen
    Keymaster

    Hello,

    In the next update, we will add that parameter to the filter. But at the moment, you can change this woodmart_search_form function in the child theme.

    Kind Regards

    #512813

    dimmisel
    Participant

    Thank you very much

    #512814

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! Always remember that you can reach out to us with any questions you may have.

    We wish you a splendid day!

    Kind Regards

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

The topic ‘Can not filter properly the `get_search_form`filter’ is closed to new replies.