wp_insert_post() see api there seems to be no possibility to set the post slug / the post permalink of the new entry.
e.g. is there a way to check if:
a string is possible to use as post-slug, if not available return error.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community