• Hello,

    I have a function set up and it uses wp_mail where an email should be generated when a new custom post type is published. It works fine when I define the add_action with publish_customposttype.

    If I use new_to_publish_customposttype however, the email is not generated.

    I’d like to use the new_to_publish_customposttype because the email should only be generated the first time.

    Has anyone else had problems with post transitions and custom post types?

  • The topic ‘new_to_publish_custom post transitions don't work’ is closed to new replies.