wpseek.com
WordPress开发者和主题制作者的搜索引擎



_search_terms_tidy › WordPress Function

Since2.9.0
已弃用3.7.0
_search_terms_tidy ( $t )
访问:
  • private
参数:
  • (string) $t Search terms to "tidy", e.g. trim.
    Required: Yes
返回:
  • (string) Trimmed search terms.
定义在:
文档:

Formerly used internally to tidy up the search terms.



源码

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