The code snippet for appending a search box in Primary or Secondary Navigation menu currently uses output buffering to display the output of get_search_form() like this: We can simply use the false parameter in get_search_form() to return the search form as a string instead of echoing thus avoiding storing it in buffer.
Recent Comments