Changes between Initial Version and Version 1 of Ticket #19321, comment 5
- 03/22/13 17:50:01 (2 years ago)
initial v1 1 1 > The get_search_form() functions starts calling the action 'get_search_form', and its ends applying the filter 'get_search_form' if a searchform.php file doesn't exists. 2 2 3 With the changes in #16541, the filter is now applied if `searchform.php` exists as well . 3 With the changes in #16541, the filter is now applied if `searchform.php` exists as well. 4 4 5 5 If a function is hooked to `get_search_form` as an action (e.g. to print something), it runs twice, so the output is printed twice. If it's hooked as a filter, it still runs twice, but at least properly returns the value.