Skip to content

Integrations

Hook Reference

HookDescription
fluent_affiliate/affiliate_created_via_fluent_formFired when a new affiliate is created through a Fluent Forms registration feed.

fluent_affiliate/affiliate_created_via_fluent_form

Fired when a new affiliate is created through a Fluent Forms registration feed.

Parameters

ParameterTypeDescription
$affiliateAffiliateThe new Affiliate model.
$userWP_UserThe WordPress user linked to the affiliate.
$feedDataarrayThe Fluent Forms feed data that triggered the creation.

Source: app/Modules/Integrations/FluentForms/FluentFormAffiliateRegistration.php

php
add_action('fluent_affiliate/affiliate_created_via_fluent_form', function($affiliate, $user, $feedData) {
    // Integration-specific post-processing
}, 10, 3);

Released under the GPL-2.0 License.