Inserts or updates a WP post.
When you want to insert an post in WordPress from your Skill.
After the element was executed, you'll get either WP_Post or WP_Error object as result of wp_insert_post( array $postarr, bool $wp_error = false, bool $fire_after_hooks = true )
Elements in On Success will be executed in case the post was inserted successfully.
You'll get the recently created WP_Post in form of (${status.post}) object and be able to access its properties like this:
${status.post.ID}${status.post.post_title}${status.post.post_content}Elements in On Failure will be executed, in case the post was not inserted successfully.
You'll get the WP_Error in form of (${status.wp_error}) object and be able to access its properties like this:
${status.wp_error.errors}${status.wp_error.error_data}