- This topic has 16 replies, 2 voices, and was last updated 11 years, 3 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Taxonomy filter not working
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.
That 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!!
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy