I use Relevanssi 3.1.4 and I want to use
relevanssi_post_ok filter to restrict post in search results for different access levels in WPMU Membership plugin.
I added my function in functions.php but it's executed only for 2 of 4 member levels. Where could be a problem?
add_filter( 'relevanssi_post_ok', 'check_post_user_access', 10, 2 );
I also tried to change a priority in the filter but it didn't help.