WC_Post_Types::support_jetpack_omnisearch()public staticWC 1.0

Add Product Support to Jetpack Omnisearch.

Method of the class: WC_Post_Types{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Post_Types::support_jetpack_omnisearch();

WC_Post_Types::support_jetpack_omnisearch() code WC 8.7.0

public static function support_jetpack_omnisearch() {
	if ( class_exists( 'Jetpack_Omnisearch_Posts' ) ) {
		new Jetpack_Omnisearch_Posts( 'product' );
	}
}