jetpack_search_query_languages, array( get_locale(

jetpack_search_query_languages, array( get_locale(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_search_query_languages, array( get_locale(') is found 2 times:

  • /jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php line 845
    			 * @since  7.9.0
    			 *
    			 * @param array $languages The array of languages. Default is value of get_locale().
    			 */
    			apply_filters( 'jetpack_search_query_languages', array( get_locale() ) )
    		);
    
    		if ( empty( $args['query_fields'] ) ) {
    			if ( $this->has_vip_index() ) {
    				// VIP indices do not have per language fields.
    				$match_fields = $this->_get_caret_boosted_fields(
    
  • /jetpack_vendor/automattic/jetpack-search/src/inline-search/class-inline-search.php line 499
    		 * @since  7.9.0
    		 *
    		 * @param array $languages The array of languages. Default is value of get_locale().
    		 */
    		return (array) apply_filters( 'jetpack_search_query_languages', array( get_locale() ) );
    	}
    
    	/**
    	 * Converts WP_Query style search args to ES filters.
    	 *
    	 * @param array $args WP_Query style search arguments.