Support » Plugin: Postie » Using Custom post types with Postie

  • Resolved SeppSoft

    (@seppsoft)


    In the Postie settings message tab you can set a custom post type as “Default post type”.
    But how can I assign vertain fileds from the $post array to custom fields?

    Think

    postie_post_before

    is a good placr for that.
    Can I use

    get_field(‘mycustomfield’)

    there?

    • This topic was modified 3 years, 7 months ago by SeppSoft.
    • This topic was modified 3 years, 7 months ago by SeppSoft.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    postie_post_before or postie_post_after are good. Depends if you need to modify the post contents or not.

    update_post_meta() is what you’d use to update a custom field.

    Wayne,

    update_post_meta() did the trick 🙂
    Thanks a lot!

    Great plugin btw.

    Klaus

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Custom post types with Postie’ is closed to new replies.