You can find out what actions are assigned to given hook with this code:
function print_filters_for( $hook = '' ) {
global $wp_filter;
if( empty( $hook ) || ! array_key_exists( $hook, $wp_filter ) ) {
return;
}
print '<pre>';
print_r( $wp_filter[$hook] );
print '</pre>';
}
Call it where you need it. In your case:
<form>
<h1> My form <h1>
<input type="text" />
<?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
print_filters_for( 'woocommerce_checkout_after_customer_details' );
</form>
Related Posts:
- Adding an action within a function that is being called by add_filter
- Remove action on product archive page [closed]
- How to remove_action inside class [duplicate]
- Unable to programmatically remove product from WooCommerce cart
- Is there a Woocommerce hook that fires when applying a coupon but before checking if it’s valid?
- What is the action hook for an order that fails on frontend checkout in WooCommerce?
- Remove action added through function
- Which hook should I use to capture $_POST(‘password’) via profile update and password reset
- How can I add an additional action button into the woocommerce admin order page?
- Edit WooCommerce product content based on category
- How to list all WC products by their attributes values?
- WooCommerce Hook: Content get’s displayed twice and not AFTER the order total
- woocommerce_new_product action doesn’t fire
- password_reset doesnt work
- Woocommerce – Adding row to cart table
- Functions.php change for Woocommerce not working
- Display custom product option in admin order details
- Assign user role by text field in WordPress (Woocommerce) [closed]
- Combine one action and one filter
- How can I send information when a order is completed to my own POS?
- Parameters in woocommerce_before_add_to_cart_button hook
- How to change lost password email text using custom plugin wordpress?
- Overriding Plugin function in your child theme
- add_action don’t updates theme layout when using values from the WordPress customizer
- Woocommerce add a text field if specific option is selected
- add_filter not works in ajax
- How Do I Access Parameters Emitted by an Action?
- Reposition variation stock message
- WooCommerce Webhook Action When a New Product Review was Submitted/Created
- How to get current product category ID in product archive page
- WooCommerce prices location in DB
- WP/WooCommerce REST API cart/checkout/order [closed]
- Hide Add to Cart Button
- How to modify “[Product] has been added to your cart” in WooCommerce?
- Why do Woocommerce templates use hooks rather than get_template_part
- Display WooCommerce only in stock sizes product attribute on shop page
- Remove “Choose An Option” on Product Variation & Auto Select Instead
- check if current url/page equals checkout page [closed]
- How to stop a Gutenberg Block from firing multiple GET Requests?
- Woocommerce Product Price Inserted programmatically doesn’t get displayed In Single Product Page
- How to Order by random on a SQL query
- Move add to cart in Woocommerce
- Hide “Delete Note” link in Order Notes Panel
- Exclude products with a stock lower than the low stock threshold from the shop loop [closed]
- Remove Order List Row Link in WooCommerce Admin?
- wp_customize – detect post type to show/hide customizer options
- WooCommerce – Display nested list of all subcategories on archive-product.php
- How can I custom order the product display?
- WordPress plugin cloak link [closed]
- Woocommerce REST API – updating an order changes custom tax calculations
- Showing the WordPress standard text area on a Woocommerce Single Product Page?
- WordPress WooCommerce: How to allow only specified customers to pay by check? [closed]
- Overwrite ‘require’ in child-theme
- Best Practice – Customise a WooCommerce+WordPress Templates
- How can I get all the woocommerce api orders [closed]
- Is it possible to update the total price on the checkout page in woocommerce from a custom field
- Tax are not showing on order while placing order with REST API
- Generate payment URL in custom email [closed]
- WooCommerce adding product to cart programatically [closed]
- minimum order item for certain products exempting 2 other products (in bulk)
- How can I reference external attachments without breaking core WordPress files?
- Hide prices from certain category in woocommerce
- Check if a WooCommerce Order Item has a specific meta data key
- Simple Product not displaying in frontend
- Broken link additional images after moving server
- WooCommerce Meta
- WooCommerce Product Table Conditional styling
- Product page attributes dropdown show price
- How to hide “Shipping” label from Woocommerce cart page
- What is the problem with these lines of code?
- Dynamic product total add to cart amount
- How can I make a thumbnail slider
- WooCommerce – 500k Jump in Order Number?
- Adapt shipping surcharge code [closed]
- How to access product’s meta data when deleting a WooCommerce product?
- How to show specific admin menu to specific user role?
- Format number to 2 decimal places
- Two e-commerce in two different folders of the same domain
- Random 503 and 504 errors
- Woocommerce language isn’t default language
- How set variation after filter in WooCommerce?
- Does anyone know a crowdsourcing plugin that can support the following use case?
- How to get products without tag?
- I can’t add pictures to the product attribute item in woocommerce
- Can I use taxonomies to make a multistore with woocommerce?
- Display product thumbnail in Woocommerce email notifications
- Getting error in debug : price was called incorrectly. Product properties should not be accessed directly
- Woocommerce rounding cart totals with tax up
- woocommerce_sessions – Table does not exist
- Shortcodes in billing fields doesn’t work
- Update a user meta key based on WooCommerce product purchase
- How to fix spacing in address tab in my account page
- show multiple product photos on WooCommerce single page
- How to get _POST variable on WooCommerce product page (form on homepage)
- How do I put woocommerce cart page to my checkout page? [closed]
- CSS url rules not relative to css path in account endpoint areas. IE. subscriptions
- Woocommerce | I want to the button ‘Add to Cart’ on the (all) product-page changed by just ‘open product’ button
- Adding line breaks in WooCommerce order processing emails
- Add second price option based on payment method at cart item price
- Issues with WooCommerce: jquery.blockUI.min.js