Forums Forums Search & Filter Pro Taxonomy filter not working

Viewing 7 posts - 11 through 17 (of 17 total)
  • Anonymous
    #1116
    This reply has been marked as private.
    Ross Moderator
    #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
    #1120

    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!!

    Ross Moderator
    #1121

    No worries thanks! ๐Ÿ™‚

    Ross Moderator
    #1122
    This reply has been marked as private.
    Anonymous
    #1124
    This reply has been marked as private.
    Ross Moderator
    #1125

    Thanks ๐Ÿ™‚

Viewing 7 posts - 11 through 17 (of 17 total)