_search_terms_tidy()WP 2.9.0

Deprecated from version 3.7.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Formerly used internally to tidy up the search terms.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Return

String. Trimmed search terms.

Usage

_search_terms_tidy( $t );
$t(string) (required)
Search terms to "tidy", e.g. trim.

Changelog

Since 2.9.0 Introduced.
Deprecated since 3.7.0

_search_terms_tidy() code WP 6.5.2

function _search_terms_tidy( $t ) {
	_deprecated_function( __FUNCTION__, '3.7.0' );
	return trim( $t, "\"'\n\r " );
}