Forums › Forums › Search & Filter Pro › Taxonomy filter not working
- This topic has 16 replies, 2 voices, and was last updated 10 years, 6 months ago by Ross.
-
Ross Moderator(Private) June 2, 2014 at 3:44 pm #1117
I’ve modified the plugin code in your setup to use a lower priority,
And I just tested by enabling/disabling this priority which caused the taxonomy filter to stop working…
So I think your modification did not affect the results, but changing the init priority in the plugin code did ๐
You can test it here:
search-filter-pro/public/class-search-filter.php
This is the new line I modified:
add_action( 'init', array( $this, 'check_posted' ), 20 );
and the previous version did not set a priority and was like this:
add_action( 'init', array( $this, 'check_posted' ) );
I guess this is a modification I need to include in future updates.
Anonymous(Private) June 2, 2014 at 3:55 pm #1120That is awesome, because I just checked and php totally allows you to nest a function inside a function as long as the scope is matched. So I wasn’t really doing anything wrong there.
Thank you so much for fixing the issue. So very impressed by your support
Will definitely go for developers version of this plugin for future projects and totally recommend it to others.Cheers!!
-
AuthorPosts