WordPress at Your Fingertips
function is not described

WC_Post_Types::support_jetpack_omnisearch() public WC 1.0

Add Product Support to Jetpack Omnisearch.

{} It's a method of the class: WC_Post_Types{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Post_Types::support_jetpack_omnisearch();

Code of WC_Post_Types::support_jetpack_omnisearch() WC 5.6.0

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