WC_Query::search_post_excerpt()publicWC 1.0

Deprecated from version 3.2.0 - Not needed anymore since WordPress 4.5.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Search post excerpt.

Method of the class: WC_Query{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Query = new WC_Query();
$WC_Query->search_post_excerpt( $where );
$where(string)
Where clause.
Default: ''

Changelog

Deprecated since 3.2.0 - Not needed anymore since WordPress 4.5.

WC_Query::search_post_excerpt() code WC 8.7.0

public function search_post_excerpt( $where = '' ) {
	wc_deprecated_function( 'WC_Query::search_post_excerpt', '3.2.0', 'Excerpt added to search query by default since WordPress 4.5.' );
	return $where;
}