Why wp_ajax hooks doesn’t work? October 17, 2022 by Tarik Billa You can add a WordPress Rest API custom endpoint Docs