publish – add_action ‘wp_after_insert_post’ for custom post types
Question
I'm using Advanced Custom Fields and I would like a function to run when I either publish or update a custom post type. I've tried acf/save, add_action( 'wp_after_insert_post' and add_action( 'save_post_my_post_type'
0
2 months
0 Answers
0 views