Been a while since I used shortcode_atts but should $categories
be $category
? also, make sure it’s returning the correct type e.g. string or int and you’re searching for a valid slug.
Been a while since I used shortcode_atts but should $categories
be $category
? also, make sure it’s returning the correct type e.g. string or int and you’re searching for a valid slug.