<?php add_action( 'ywcas_ajax_url', 'ywcas_ajax_url', 30 ); function ywcas_ajax_url(){ return 'admin-ajax.php?action=yith_ajax_search_products'; }