Table of Contents
Description #
This action runs after the successfully inserting a post during post 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 (obejct) Form Object
- $feed (array) Feed Data
Source Code #
This hook is located in /fluentformpro/src/Components/Post/PostFormHandler.php