HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/theflexguy.com/wp-content/themes/vanilla/blog-set/widgets/search-form.php
<?php
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }

function widget_search_form() {
	global $tpl;
	$tpl["widget"]["search_form"] = array(
		"action" => get_bloginfo('home'),
		"submit_text" => __('Search', 'carrington'),
		"query" => wp_specialchars(stripslashes($_GET['s']), true)
	);
}

function widget_search_form_control() {}

//vanilla_register_widget(function name, description);
vanilla_register_widget('widget_search_form', 'Search Form');

?>