Generating post_name and GUID value
-
Hi folks.
I am tweaking a plugin that inserts posts through a query.
I have been able to insert title, date, the ‘draft’ status, but I realised that the post_name and guid field are not automatically generated. I suspect that there are a function to generate this fields from the title and ID, but I could not find them in the wp code.
Can you help me?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Generating post_name and GUID value’ is closed to new replies.