Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
14 lines (11 sloc) 0.304 kb
<?php
namespace Roots\Sage\Utils;
/**
* Tell WordPress to use searchform.php from the templates/ directory
*/
function get_search_form() {
$form = '';
locate_template('/templates/searchform.php', true, false);
return $form;
}
add_filter('get_search_form', __NAMESPACE__ . '\\get_search_form');
Jump to Line
Something went wrong with that request. Please try again.