WC_Query::search_post_excerpt
Deprecated since 3.2.0 - Not needed anymore since WordPress 4.5.. It is no longer supported and may 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.
Returns
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() WC Query::search post excerpt code WC 10.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;
}