In 1896, Pope Leo XIII said that “ordinations performed according to the Anglican rite have been and are wholly invalid and absolutely null.”
Anglican orders are not recognized as valid within the Catholic Church. This stems from a historical defect in the form of the ordination rite (valid form is one of five requirements for any valid sacrament, the others being subject, minister, matter, and intent. If there is a defect in any of these, the sacrament is not valid).
The defective form has been corrected, but it persisted for more than a century, meaning there were no validly consecrated bishops left by the time the defective form was fixed. The Anglican Church thus had no bishops with sacramentally-valid Apostolic Succession.
Anglicans still conduct ordination rites, but the Catholic Church does not regard them as having any true sacramental effect. In this regard, Anglican priests are no different than any other protestant pastor, according to the Catholic Church.
Any possible restoration of validity of Anglican orders is severely hindered by the Anglican practice of ordaining women bishops.