add_rewrite_endpoint() not working for custom post type archives April 11, 2022 by Tarik Billa add_rewrite_endpoint() not working for custom post type archives