.. _fsearchform: ########### search_form ########### :doc:`Search-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/search_form.rst .. php:function:: search_form(array $options = Array) Return the site-wide search form. :param array $options: Valid options are as follows: - show_advanced (bool): whether to show the advanced search; default is false. - submit_value (string): the value of the submit button; default "Submit". - form_attributes (array): an array containing form tag attributes. :returns: string The search form markup. ***** Usage ***** .. include:: /Reference/libraries/globals/usage/search_form.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/search_form.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/search_form.rst