TukiFlow icon
eCommerce & WooCommerce

TukiFlow hooks reference

  • By tukiDevs
  • v1.4.2 New
  • Updated

TukiFlow 1.4.2 has 11 actions and 16 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 TukiFlow fires an action
add_action( 'tfdc_landing_cart_prepared', function( $page_id ) {
	// Your code runs here.
}, 10, 1 );

// Change a value TukiFlow is about to use
add_filter( 'tfdc_addon_features_active', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

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/class-tfdc-landing-checkout.php line 900 · used in 2 places
    /**
     * Fires after the landing page cart is ready for checkout.
     */
    do_action( 'tfdc_landing_cart_prepared', $page_id );
  • includes/class-tfdc-landing-variations.php line 193 · used in 2 places
    /**
     * This action is documented in includes/class-tfdc-shortcode.php
     */
    do_action( 'tfdc_shortcode_cart_prepared', $object_id, $target['product']->get_id(), $target['quantity'] );
  • includes/tfdc-pro-functions.php line 52
    /**
     * Filters whether an add-on's features are running on this site.
     */
    apply_filters( 'tfdc_addon_features_active', false );
  • includes/class-tfdc-admin.php line 320
    /**
     * Filters the TukiFlow admin screens, in menu order.
     */
    apply_filters( 'tfdc_admin_screens', $screens );
  • includes/class-tfdc-buy-now.php line 292
    /**
     * Fires after Buy Now adds a product to the cart.
     */
    do_action( 'tfdc_buy_now_added', $product_id, $qty, $variation_id, $added );
  • includes/class-tfdc-buy-now.php line 304
    /**
     * Filters where Buy Now sends the shopper after adding the product.
     */
    apply_filters( 'tfdc_buy_now_redirect', wc_get_checkout_url(), $product_id, $qty, $variation_id );
  • includes/class-tfdc-landing-checkout.php line 1042
    /**
     * Filters HTML printed above the landing page checkout form.
     */
    apply_filters( 'tfdc_landing_before_checkout', TFDC_Landing_Variations::get_instance()->render( $this->landing_page_id ), $this->landing_page_id );
  • includes/class-tfdc-landing-checkout.php line 111
    /**
     * Filters the page editor context of the TukiFlow Checkout metabox.
     */
    apply_filters( 'tfdc_landing_meta_box_context', 'normal' );
  • includes/class-tfdc-landing-checkout.php line 273
    /**
     * Fires after the Coupon section of the page box, so add-ons can add their own
     * sections. Print each one as `<div class="tfdc-lp__section"><div
     * class="tfdc-lp__label"><h3>…</h3></div><div
     * class="tfdc-lp__fields">…</div></div>` and save its fields on
     * `tfdc_landing_save_products`.
     */
    do_action( 'tfdc_landing_meta_box_sections', $post );
  • includes/api/class-tfdc-endpoint-landing-pages.php line 311
    /**
     * Filters the content of a landing page created from the admin.
     */
    apply_filters( 'tfdc_landing_page_content', $content, $product_id, $quantity, $products );
  • includes/class-tfdc-landing-checkout.php line 870
    /**
     * Filters how the cart is prepared for a landing page.
     */
    apply_filters( 'tfdc_landing_prepare_cart', null, $page_id );
  • includes/class-tfdc-landing-checkout.php line 1068
    /**
     * Filters whether a product can be offered on a landing page.
     */
    apply_filters( 'tfdc_landing_product_is_selectable', $selectable, $product );
  • includes/class-tfdc-landing-checkout.php line 764
    /**
     * Saves product fields rendered by `tfdc_landing_meta_box_products`.
     */
    do_action( 'tfdc_landing_save_products', $post_id );
  • includes/class-tfdc-landing-checkout.php line 427
    /**
     * Filters the registered script and style handles the page box settings need.
     * They load with the page when checkout is on, and only when the switch is
     * turned on otherwise. Register the handles (with any localized data) before
     * `admin_enqueue_scripts` priority 30.
     */
    apply_filters( 'tfdc_landing_settings_assets', array( 'scripts' => array( 'wc-enhanced-select' ), 'styles' => array( 'woocommerce_admin_styles' ), ) );
  • includes/class-tfdc-order-source.php line 151
    /**
     * Fires after TukiFlow tagged a new order with the step it came from.
     */
    do_action( 'tfdc_order_source_recorded', $order, $source, $object_id );
  • includes/class-tfdc-product-settings.php line 331
    /**
     * Fires at the end of the TukiFlow product data panel.
     */
    do_action( 'tfdc_product_options', $post );
  • includes/api/class-tfdc-endpoint-landing-pages.php line 400
    /**
     * Filters landing page data returned to the admin UI.
     */
    apply_filters( 'tfdc_rest_landing_page', $data, $post );
  • includes/api/class-tfdc-endpoint-landing-pages.php line 349
    /**
     * Fires after a landing page is created from the admin UI.
     */
    do_action( 'tfdc_rest_landing_page_created', $page_id, $products, $body );
  • includes/api/class-tfdc-endpoint-landing-pages.php line 269
    /**
     * Filters the product rows requested for a new landing page.
     */
    apply_filters( 'tfdc_rest_landing_page_products', $products, $body );
  • includes/api/class-tfdc-endpoint-landing-pages.php line 242
    /**
     * Validates a create request before anything is saved.
     */
    apply_filters( 'tfdc_rest_landing_page_validate', null, $body );
  • includes/class-tfdc-buy-now.php line 350
    /**
     * Filters the fixed bottom bars the sticky Buy Now bar sits above, such as a
     * theme's phone footer bar.
     */
    apply_filters( 'tfdc_sticky_buy_now_avoid', array( '.storefront-handheld-footer-bar' ) );
  • includes/class-tfdc-buy-now.php line 210
    apply_filters( 'tfdc_buy_now_button_classes', $default_classes, absint( $product_id ) );
  • tukiflow-direct-checkout-woocommerce.php line 76
    do_action( 'tfdc_fs_loaded' );
  • includes/class-tfdc-landing-checkout.php line 258
    do_action( 'tfdc_landing_meta_box_after_coupon', $post );
  • includes/class-tfdc-landing-checkout.php line 230
    do_action( 'tfdc_landing_meta_box_products', $post );
  • includes/class-tfdc-cart-service.php line 100
    apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity, $variation_id, $variation );

Generated from TukiFlow'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: