I'm writing a connection to the property program after the API.
I want the offers from the program to be added to WordPress.
Please, direct me:
- what function is responsible for adding a new post to the property
- in which file the function is
- any other information
- an example of a simple implementation