Viewing 1 replies (of 1 total)
  • Plugin Author 3pointross

    (@3pointross)

    Hi Voltairemakeit,

    Panorama uses custom post type with an ID of ‘psp_projects’ so you can use the wp_insert_post function to generate a new post.

    All of the fields are either WordPress meta fields or ACF fields, so if you do some digging in the codex you can see how to programmatically populate those values as well.

    You’re looking for update_field(); for ACF and update_postmeta(); for WP

Viewing 1 replies (of 1 total)
  • The topic ‘Add project programmatically’ is closed to new replies.