WC_Post_Types::support_jetpack_omnisearch
Add Product Support to Jetpack Omnisearch.
Method of the class: WC_Post_Types{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Post_Types::support_jetpack_omnisearch();
WC_Post_Types::support_jetpack_omnisearch() WC Post Types::support jetpack omnisearch code WC 10.8.1
public static function support_jetpack_omnisearch() {
if ( class_exists( 'Jetpack_Omnisearch_Posts' ) ) {
new Jetpack_Omnisearch_Posts( 'product' );
}
}