• mjpr

    (@mjpr)


    Since WordPress 5.7.1 the function create_category_filter delivers an empty result.

    Therefore
    $terms = get_terms( 'wpsl_store_category' );
    has to be replaced with

    $terms = get_terms(
            array(
                'taxonomy' => 'wpsl_store_category',
                'hide_empty' => false,
            )
        );
Viewing 2 replies - 1 through 2 (of 2 total)
  • dkrueger

    (@dkrueger)

    Hi @mjpr
    thanks for the info, but WHERE do I have to replace this code?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    @mjpr I can’t replicate this problem with the latest WP version. It also happens for you with all plugins disabled and a default WP theme?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Empty Category-Filter’ is closed to new replies.