wpseek.com
A WordPress-centric search engine for devs and theme authors



_search_terms_tidy › WordPress Function

Since2.9.0
Deprecated3.7.0
_search_terms_tidy ( $t )
Access:
  • private
Parameters:
  • (string) $t Search terms to "tidy", e.g. trim.
    Required: Yes
Returns:
  • (string) Trimmed search terms.
Defined at:
Codex:

Formerly used internally to tidy up the search terms.



Source

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