Starting with WooCommerce 11.0, the function get_queried_object() on the Shop page will return a WP_Post object instead of a WP_Post_Type object, aligning its behavior with other pages. The post A more reliable get_queried_object() in WooCommerce 11.0 appeared first on The WooCommerce Developer Blog .