thesis_search_form_value

This filter was deprecated in 1.8.3, in favor of the new and improved Thesis Search Widget.

Description

Can be used to replace the default field value for the search form.

Example

function custom_search_text($field_value) {
	$field_value = 'Custom search text here';
	return $field_value;
}
add_filter('thesis_search_form_value', 'custom_search_text');

History

  • This filter was deprecated in version 1.8.3.
  • This filter was added in version 1.5.1.