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.
// 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
-
/** * Fires after the landing page cart is ready for checkout. */ do_action( 'tfdc_landing_cart_prepared', $page_id ); -
/** * This action is documented in includes/class-tfdc-shortcode.php */ do_action( 'tfdc_shortcode_cart_prepared', $object_id, $target['product']->get_id(), $target['quantity'] ); -
/** * Filters whether an add-on's features are running on this site. */ apply_filters( 'tfdc_addon_features_active', false ); -
/** * Filters the help links shown in the TukiFlow admin header. */ apply_filters( 'tfdc_admin_help_links', array( array( 'label' => __( 'Docs', 'tukiflow-direct-checkout-woocommerce' ), 'url' => 'https://tukidevs.com/docs/tukiflow/', 'icon' => 'docs', ), array( 'label' => __( 'Support', 'tukiflow-direct-checkout-woocommerce' ), 'url' => 'https://wordpress.org/support/plugin/tukiflow-direct-checkout-woocommerce/', 'icon' => 'support', ), array( 'label' => __( 'Review us', 'tukiflow-direct-checkout-wo... ); -
/** * Filters the TukiFlow admin screens, in menu order. */ apply_filters( 'tfdc_admin_screens', $screens ); -
/** * Fires after Buy Now adds a product to the cart. */ do_action( 'tfdc_buy_now_added', $product_id, $qty, $variation_id, $added ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the page editor context of the TukiFlow Checkout metabox. */ apply_filters( 'tfdc_landing_meta_box_context', 'normal' ); -
/** * 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 ); -
/** * Filters the content of a landing page created from the admin. */ apply_filters( 'tfdc_landing_page_content', $content, $product_id, $quantity, $products ); -
/** * Filters how the cart is prepared for a landing page. */ apply_filters( 'tfdc_landing_prepare_cart', null, $page_id ); -
/** * Filters whether a product can be offered on a landing page. */ apply_filters( 'tfdc_landing_product_is_selectable', $selectable, $product ); -
/** * Saves product fields rendered by `tfdc_landing_meta_box_products`. */ do_action( 'tfdc_landing_save_products', $post_id ); -
/** * 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' ), ) ); -
/** * Fires after TukiFlow tagged a new order with the step it came from. */ do_action( 'tfdc_order_source_recorded', $order, $source, $object_id ); -
/** * Fires at the end of the TukiFlow product data panel. */ do_action( 'tfdc_product_options', $post ); -
/** * Filters landing page data returned to the admin UI. */ apply_filters( 'tfdc_rest_landing_page', $data, $post ); -
/** * Fires after a landing page is created from the admin UI. */ do_action( 'tfdc_rest_landing_page_created', $page_id, $products, $body ); -
/** * Filters the product rows requested for a new landing page. */ apply_filters( 'tfdc_rest_landing_page_products', $products, $body ); -
/** * Validates a create request before anything is saved. */ apply_filters( 'tfdc_rest_landing_page_validate', null, $body ); -
/** * 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' ) ); -
apply_filters( 'tfdc_buy_now_button_classes', $default_classes, absint( $product_id ) ); -
do_action( 'tfdc_fs_loaded' ); -
do_action( 'tfdc_landing_meta_box_after_coupon', $post ); -
do_action( 'tfdc_landing_meta_box_products', $post ); -
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.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin 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 thisNot 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: