Affiliate Contact Form 7 Integration For WooCommerce icon
Forms

Affiliate Contact Form 7 Integration For WooCommerce hooks reference

Affiliate Contact Form 7 Integration For WooCommerce 1.0.11 has 1 actions and 2 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Affiliate Contact Form 7 Integration For WooCommerce fires an action
add_action( 'afwc_subscribe_affiliate', function( $formatted_data ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Affiliate Contact Form 7 Integration For WooCommerce is about to use
add_filter( 'afwc_cf7_is_cf7_form', function( $value, $contact_form, $arg3 ) {
	// Change $value here.
	return $value;
}, 10, 3 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/integration/contact-form-7/class-afwc-cf7-registration-form.php line 552
    /**
     * Filter to check whether the cf7 form is affiliate registration form or not.
     */
    apply_filters( 'afwc_cf7_is_cf7_form', $contact_form instanceof WPCF7_ContactForm && is_callable( array( $contact_form, 'is_true' ) ) && true === $contact_form->is_true( 'afwc_registration' ), $contact_form, array( 'source' => $this ) );
  • includes/integration/contact-form-7/class-afwc-cf7-registration-form.php line 329
    /**
     * Filter to modify the restricted field types.
     */
    apply_filters( 'afwc_cf7_registration_restricted_fields_types', array( 'acceptance', 'captchac' ), array( 'source' => $this ) );
  • includes/integration/contact-form-7/class-afwc-cf7-registration-form.php line 416
    /**
     * Action triggered to subscribe affiliate to a mailer platform.
     */
    do_action( 'afwc_subscribe_affiliate', $formatted_data );

Generated from Affiliate Contact Form 7 Integration For WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: