‘import_id’
(int) The post ID to be used when inserting a new post. If specified, must not match any existing post ID. Default 0.
Accordingly to the documentation, the ID needs to be an integer.
So no letters are allowed unfortunately.
Related Posts:
- Get the Current Page Number
- Keep featured content post in homepage with original order
- Removing any and all inline styles from the_content()
- Are post ID’s reliable?
- Adding additional data to WP_Post object
- using wp_update_post on save_post
- Pretty URL with add_query_var
- WordPress plugin to publish to multiple remote WordPress blogs
- Download external images if post is publish
- Query posts from current year
- How do you get all the urls of images attached to a post?
- Convert IPTC keywords to blog post tags
- Facebook sharing link is not showing a thumbnail of the images within the post?
- How to wrap every image in a post with a div?
- Publish posts only after the condition is met
- Order post by year DESC and month ASC
- Showing random content / pictures from earlier posts in a sticky post?
- Custom wp_trim_words() function not trimming right
- Change existing label in the admin bar with something else
- Populating a page with content from post custom fields
- How can I hook into creating a new post and execute wp_die(), before the post is inserted into the database?
- Function to show random posts from a category
- Change Order of Admin Posts Depending on Meta
- how to programmatically change post tags
- wp query with dynamic taxonomies and terms?
- How can I hide the sidebar from a specific post?
- move blog posts from one wordpress to another
- How to run a function when post is edited or updated using publish post action?
- How do I use `posts_distinct` correctly?
- Getting a 404 error when clicking edit page
- Automatic value for custom fields for posts
- How to find what index page a post is on?
- Display number of posts via adress bar?
- Display most recent post on homepage?
- WordPress REST API not returning all posts
- Get Posts that are in the current month or later
- WP Query to Get Array of Slugs
- get current post id inside hook
- Displaying Latest Posts on a Page
- Email entire post contents
- Display all posts that were published before full post on single.php
- How can i display gallery shortcode output under Post text
- Hiding Draft Post In Admin
- How to limit posts by category
- List category posts alphabetically on archive.php
- How can you change all past posts’ images to link to none instead of the image file?
- Apostrophe in a possessive appears as an open-single-smart-quote instead of a closed one
- Add Read More Tag to a post content (Single.php)
- How to compare two posts including their meta fields on a scalable base?
- Dynamic dependent Dropdown lists for categories, sub-categories and posts
- Only display sticky post or latest post in custom loop
- Security to delete post by Admin
- why there are so many posts whoes post_type is revision? will these records waste too much database space?
- save_post hook is not called when post is saved
- How to add the time of a post to the list of posts on the administration page?
- Summary of Posts by an User
- my post slug gets really long and I can’t change it
- How to have more than one page for your posts if you have 8 posts but can store max 4 on a page
- Scheduling posts via sql
- Display specific posts on home page
- The loop starting at a certain ID
- How to restore deleted post related with deleted users
- Posts and Pages w. private visibility don’t show up in existing content
- Closest post to a date
- How do I display main query posts in random order using add_filter
- how to find the posts page
- Aligning images in the wp editor not working. How do i get this to work in custom theme?
- Showing Posts if non are found
- How can I display the last updated post with the author, the created date, and the modified date on one line?
- How do i bring out post category name in my widget?
- Passing values via an Ajax querystring
- Filtering private Posts
- Show items from a DB in a Post
- Diffrent layout for posts [duplicate]
- How can I stop ‘in use’ message from intermittently blocking my wp_posts table?
- How to prevent WP from inserting empty posts
- How to Display Most View Post in the template file?
- display multiple posts and posts content on a single URL
- Get Categories & Posts With Type Article
- My post permalinks are always the same
- Show post excerpt
- Multipage Post URL correction
- Set multi posts random categories and tags
- Keep highlight on menu item with post pages
- Can’t get post_updated hook to work
- How can I set and update the the_date according to a custom field of the post
- Adding editable content above posts
- Call image from post on index page?
- WP Query between posts custom fields [duplicate]
- Post not showing up sometimes on website
- Extra field in wp_post instead of postmeta
- Same sidebar in all posts as in the category
- Voting System, database connections?
- Update Post with Modified Data
- include other content type post ID not working
- Notify Author of the post if admin deletes his post and perform some function
- Wrap div-tag around posts in page
- sub posts to parent post
- How to change Post title background size?
- I am using the query block and what I want and see on the editor page is not the same with the actual results