The former two-division champion Conor McGregor has not fought since 2021 after breaking his leg in a bout against Dustin Poirier.