I use Relevanssi 3.1.4 and I want to use
relevanssi_post_okfilter 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.
- The topic ‘Filter relevanssi_post_ok don't execute the function’ is closed to new replies.