Title: action doesn&#8217;t work
Last modified: February 8, 2024

---

# action doesn’t work

 *  Resolved [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/action-doesnt-work/)
 * Hi,
 * I am developing a plugin that inserts some fields to woocommerce checkout fields,
   
   But seems this action doesn’t work at all from plugin:
 *     ```wp-block-code
       add_action( 'woocommerce_after_order_notes', 'hello', 10, 1 );
       function hello(){
            echo 'hello';
       }
       ```
   
 * I tested to check if the funtion calls or not, but the function doesn’t call 
   at all
   What’s the problem?Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17415409)
 * Hi [@farhad0](https://wordpress.org/support/users/farhad0/), thanks for reaching
   out.
 * Helping out with custom coding of this nature is outside the scope of support
   that our support staff can help out with here, although I would recommend the
   following:
    1. Running the exact question you’re asking, along with the code provided, through
       an AI platform like ChatGPT for recommendations/changes to your code;
    2. Joining our WooCommerce Slack community (it does have a developer channel where
       you can ask coding questions): [https://woo.com/community-slack/](https://woo.com/community-slack/)
 * Hope it helps!
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17416019)
 * [@ckadenge](https://wordpress.org/support/users/ckadenge/)
   Hi,Thank you for your
   reply,
 * I created an issue on woocommerce github for this purpose,
   And when I click on
   the link of Slack “Let’s Go”, the following error displayThis link is no longer
   active
 * To join this workspace, you’ll need to ask the person who originally invited 
   you for a new link.
 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17421941)
 * Hey, [@farhad0](https://wordpress.org/support/users/farhad0/)!
 * I just tried the **[link ](https://woocommerce.com/community-slack/)**and I was
   able to get in. Do you mind trying again on a different browser to check?
 * You can visit the [WooCommerce Facebook group](https://www.facebook.com/groups/advanced.woocommerce/)
   for help with custom code.
 * Have a wonderful day!
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17422182)
 * [@carolm29](https://wordpress.org/support/users/carolm29/)
   Hi,
 * I could login , Thank you
 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17422428)
 * Hi,
 * > I could login , Thank you
 * Glad to hear you were able to log into the Slack group. There, you can ask questions
   and collaborate with different developers to achieve your desired customisation.
 * Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘action doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [extra fields](https://wordpress.org/support/topic-tag/extra-fields/)

 * 7 replies
 * 3 participants
 * Last reply from: [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17422428)
 * Status: resolved