use_block_editor_for_post_type()
Returns whether a post type is compatible with the block editor.
Returns whether a post type is compatible with the block editor.
Saves a post submitted with XHR.
Determines whether the post is currently being edited by another user.
Creates autosave data for the specified post from $_POST data.
Executes a query for attachments. An array of WP_Query arguments can be passed in, which will override the arguments set by this function.
Returns the query variables for the current attachments request.
Runs the query to fetch the posts for listing on the edit posts page.
Marks the post as currently being edited by the current user.
Creates a new post from the “Write Post” form using $_POST information.
Calls wp_write_post() and handles the errors.