HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/lacalita/wp-content/plugins/rey-core/inc/compatibility/relevanssi/base.php
<?php
namespace ReyCore\Compatibility\Relevanssi;

if ( ! defined( 'ABSPATH' ) ) exit;

class Base extends \ReyCore\Compatibility\CompatibilityBase
{

	public function __construct()
	{
		add_action('reycore/woocommerce/search/search_products_query', [$this, 'search_query']);
		add_filter('reycore/woocommerce/components_add_remove/priority', [$this, 'change_loop_components_priority']);
	}

	public function search_query( $the_query ) {
		relevanssi_do_query( $the_query );
	}

	function change_loop_components_priority(){
		return 9;
	}
}