update flamingo_inbound post type after insert
You can use the post type within the action name and you gain the removing of an unnecessary check of the post type. More on this wp_transition_post_status For instance: When publishing a post for the first time, the post status may transition from ‘draft’ – or some other status – to ‘publish’. However, if a … Read more