1. Home
  2. For Devs
  3. Action
  4. Action after create_post status change
  1. Home
  2. Plugins
  3. WP Webhooks
  4. For Devs
  5. Action
  6. Action after create_post status change

Action after create_post status change

wpwhpro/webhooks/trigger_post_create_post_status

Description:
This action fires in case you set the option to fire a “create_post” trigger on a specific post status. If the status you selected is initially reached, this webhooks fires.

Parameter Type Description
$post_id int The id of the current post
$post object The post object
$response_data array The full response data array

	do_action( 'wpwhpro/webhooks/trigger_post_create_post_status', $post_id, $post, $response_data );

Updated on August 10, 2019

Was this article helpful?

Related Articles