how to determine we are in add new custom post type or edit custom post type July 6, 2022 by Tarik Billa how to determine we are in add new custom post type or edit custom post type