How to get the last category name of a child category?
I’ve finally figured out the result I wanted with get_categories: get_categories( array( ‘orderby’ => ‘name’, // get the name of category ‘order’ => ‘DESC’, // descending order ‘parent’ => 14, // category_id ‘number’ => 1 // only one category (the last one, because DESC) ));