Description #
This action runs after successfully inserting a post during the post-form integration process. You can use this action to do the additional task for the new post.
/*
* Source Action
*/
do_action('fluentform/post_integration_success', $postId, $postData, $entryId, $form, $feed);
Usage #
add_action('fluentform/post_integration_success', function ($postId, $postData, $entryId, $form, $feed)
{
// Do your stuffs here
}, 10, 5);
This code should be placed in the functions.php file of your active theme.
Parameters #
- $postId (int) Post ID
- $postData (array) Post Data
- $entryId (int) Entry ID
- $form (object) Form Object
- $feed (array) Feed Data
Source Code #
This hook is located in /fluentformpro/src/Components/Post/PostFormHandler.php