How to envoke posting manually?

[ad_1]

Hi, I am not sure if topic title is correct (not English native speaker) but we import custom post type manually with own php solution. Posting with button pressed is working (so configuration is correct) but is there way (to call some hook or anything) to publish created post directly (without pressing button?)
If not when is your publishing automatically fired? Or only on button press? With manually inserted post I suppose some metas are needed for autopost new post. Thank you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer