Action: hivepress/v1/models/post/{action_type}

do_action( 'hivepress/v1/models/post/{action_type}', $post_id, $post_type )

Fires when a post is created, updated or deleted. The dynamic part of the hook refers to the action type (create, update or delete).

Parameters:
Name Type Description
$post_id int

Post ID.

$post_type string

Post type.

Source: