update_post_meta not working in template_redirect action September 12, 2022 by Tarik Billa update_post_meta not working in template_redirect action