FacetWP – move init to priority = 9

<?php

add_action( 'init', function() {
    if ( function_exists( 'FWP' ) ) {
        remove_action( 'init', array( FWP()->init, 'init' ), 10 );
        add_action( 'init', array( FWP()->init, 'init' ), 9 );
    }
}, 5 );