Changeset 10411 for trunk/wp-includes/general-template.php
- Timestamp:
- 01/22/2009 09:17:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r10377 r10411 99 99 * Will first attempt to locate the searchform.php file in either the child or 100 100 * the parent, then load it. If it doesn't exist, then the default search form 101 * will be displayed. 101 * will be displayed. The default search form is HTML, which will be displayed. 102 * There is a filter applied to the search form HTML in order to edit or replace 103 * it. The filter is 'get_search_form'. 104 * 105 * This function is primarily used by themes which want to hardcode the search 106 * form into the sidebar and also by the search widget in WordPress. 107 * 108 * There is also an action that is called whenever the function is run called, 109 * 'get_search_form'. This can be useful for outputting JavaScript that the 110 * search relies on or various formatting that applies to the beginning of the 111 * search. To give a few examples of what it can be used for. 102 112 * 103 113 * @since 2.7.0
Note: See TracChangeset
for help on using the changeset viewer.