Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @fatih71

    If you are referring to a featured image, you can use the media_sideload_image WordPress function (https://developer.wordpress.org/reference/functions/media_sideload_image/).

    And to access the URL of the uploaded file, assuming the “File Upload” field is the fieldname1, you can use the variable $params['fieldname1_urls']

    If you want to include an image into the post content, you should insert the image tag into the preferred place '<img src="'.$params['fieldname1_urls'].'">'

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘insert post’ is closed to new replies.