facetwp remove loop detection

<?php
/** removes loop detection that outputs fwp-loop comment in html
 ** you MUST have the facetwp-template class added to your results loop
 ** without auto detection or your facets will fail to load
 **/
add_action( 'wp_head', function() {
	remove_action( 'loop_start', [ FWP()->display, 'add_template_tag' ] );
	remove_action( 'loop_no_results', [ FWP()->display, 'add_template_tag' ] );
});