How can I link to a post created with wp_insert_post to itself?
-
I am trying to create a better way to submit posts to a wordpress blog, youtube channel, facebook, etc. all at the same time.
So I decided to use wp_insert_post to create the new post, the problem is I want to include an image that links to the post and don’t know what the URL of the new post will be for sure until it’s posted right?
Any thoughts as to how I can link to the post?
Thank you!
- The topic ‘How can I link to a post created with wp_insert_post to itself?’ is closed to new replies.