Empty Category-Filter
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Empty Category-Filter’ is closed to new replies.