Runs when post data is inserted.
add_action( 'wpt_insert_post', function( array $_POST, int $post_ID ) { // Your code here. }, 10, 2 );
array
$_POST
int
$post_ID
do_action( 'wpt_insert_post', $_POST, $post_ID )
← All Hooks
There was an error while loading. Please reload this page.