This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Clear form after submission

#37854
Ernest MarcinkoErnest Marcinko
Keymaster

You are correct, that was my mistake.

To clear the input field, you need an additional code as well:

add_filter("asp_print_search_query", "asp_change_print_search_query", 10, 2);
function asp_change_print_search_query($query, $search_id) {
  return '';
}