How to target all woocommerce categories that don’t have any subcategories in them?

I want to target all pages (product categories) that are displaying the products themselves.

My woocommerce settings set to show only categories/subcategories (unless there are none) and then by default the products grid is displayed on the page.

is_product_category() function doesn’t help since it also targets the parent categories which don’t have direct products in them.

Most of my categories that don’t any subcategories in them are grandchildren categories if it matters for the answer.

How can I achieve it and to use it in woocommerce hooks?

Can movement spells that don’t specify they are teleportation bypass Forcecage?

Forcecage states:

A creature inside the cage can’t leave it by nonmagical means. If the creature tries to use teleportation or interplanar travel to leave the cage, it must first make a Charisma saving throw.

Despite external opinions about how the spell should work, is it correct to read the RAW interpretation that magical effects such as Tree Stride or Transport via Plants are capable of bypassing the saving throw as they don’t specify they are teleportation?

How can I handle a player who seems to utilize skills their characters don’t have?

Well the tag is slightly misleading as these players do not cause problems. However I have encountered several players who exhibit skills their real life counterpart has without actually metagaming. As an example I encountered a player while running storyteller system and while they didn’t have leadership skill they were quite fond of management stuff and assigned people that were under their command. On a similar note I had a player in D&D 5e who did not have survival proficiency (or nature proficiency for that matter) but he explained how his character set up a rudimentary water purification system.

I thought of a few solutions for this.

  1. Just tell them no. While this solution feels like the correct one my players often get excited when they utilize things like this and I don’t want to be the GM that says ‘No fun allowed’.

  2. Ask them to switch their proficiencies/skills to better reflect their knowledge. This feels a bit too punishing and I feel that it might end up causing them to not have the character they had in mind.

  3. Just let it fly. This is what I have been doing so far but to be honest I feel it is hurting other players and stealing the spotlight from people that invested in the required skills.

The main question is: How can I handle a player who seems to utilize skills their characters don’t have?

[ Politics ] Open Question : I don’t wear a mask, I play football, and I go out with some women and I didn’t get the coronavirus. Does this mean that it is a invention?

I don’t know anyone who had a corona and I’m not going to use these ridiculous masks. My health is that of an ox. Shouldn’t I have died according to the socialist media?

[ Etiquette ] Open Question : Why don’t my parents believe that black lives matter?

I do and I have fully supported charities and protests, but they do not. Actually, they’ve been mocking the current events and my mother has even said “Black lives don’t matter, but mine does. I’m sick of this crap.” Why are some people like this? Do you think she would be more understanding if she educated herself? Or are some people too closed off for that?